2010-09-18 45 views
1
- (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)失败,错误如下:ASIHTTPRequest构建/链路错误

未定义符号:

"_OBJC_CLASS_$_ASIHTTPRequest", referenced from: objc-class-ref-to-ASIHTTPRequest in FBFunViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status

什么问题?有人可以帮忙吗?

回答