- (void)getFacebookProfile {
NSString *urlString = [NSString stringWithFormat:@"https://graph.facebook.com/me?access_token=%@", [_accessToken stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
NSURL *url = [NSURL URLWithString:urlString];
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDidFinishSelector:@selector(getFacebookProfileFinished:)];
[request setDelegate:self];
[request startAsynchronous];
}
上述方法(来自www.raywenderlich.com)失败并出现以下错误:
未定义的符号:
“_OBJC_CLASS_$_ASIHTTPRequest”,引用自:FBFunViewController.o 中的 objc-class-ref-to-ASIHTTPRequest ld:未找到符号 collect2:ld 返回 1 个退出状态
问题是什么?有人可以帮忙吗?