- (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 http://www.raywenderlich.com) 失败并出现以下错误:
未定义的符号:
“_OBJC_CLASS_$_ASIHTTPRequest”,引用自:
FBFunViewController.o ld 中的 objc-class-ref-to-ASIHTTPRequest:未找到符号collect2:ld 返回 1 退出状态
问题是什么?有人可以帮忙吗?
检查此处的说明:
http://allseeing-i.com/ASIHTTPRequest/Setup-instructions http://allseeing-i.com/ASIHTTPRequest/Setup-instructions
列出的两个步骤之一似乎已被跳过或未正确完成。您是否可能没有将 ASIHTTPRequest.m 添加到您的项目中?或者它没有包含在您正在构建的目标中?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)