Iphone 使用AFN网络的编译器警告

Iphone 使用AFN网络的编译器警告,iphone,objective-c,ios,ios6,afnetworking,Iphone,Objective C,Ios,Ios6,Afnetworking,我是AFNetworking的新手,运行一个简单的应用程序来了解AFNetworking是如何工作的。我在跟踪 我已经包含了AFNetworking库,并且在每个AFNetworking文件的编译源代码中输入了-fno objc arc 我将此部分包括在实施文件中: NSURL *url = [[NSURL alloc] initWithString:@"http://itunes.apple.com/search?term=harry&country=us&entity=mov

我是AFNetworking的新手,运行一个简单的应用程序来了解AFNetworking是如何工作的。我在跟踪

我已经包含了AFNetworking库,并且在每个AFNetworking文件的编译源代码中输入了-fno objc arc

我将此部分包括在实施文件中:

NSURL *url = [[NSURL alloc] initWithString:@"http://itunes.apple.com/search?term=harry&country=us&entity=movie"];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url];
AFJSONRequestOperation *operation = [AFJSONRequestOperation JSONRequestOperationWithRequest:request success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) {
    NSLog(@"JSON");
} failure:^(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, id JSON) {
    NSLog(@"Request Failed with Error: %@, %@", error, error.userInfo);
}];
[operation start];
当我点击run时,我有14个语义问题,项目失败了。 例如,一个错误是:

Method possibly missing a [super dealloc] call.

不确定如何解决此错误。需要一些指导…

试试这个:

首先
删除
并清理项目

现在
下载


Add
再次
AFNetworking
library
build
项目。

我删除了所有文件的-fno objc弧。。。但现在我遇到了词法或预处理器问题。。。在pch文件中包含coreservices和systemconfiguration框架及其头文件…添加-fno objc arc对于所有文件,请发布完整的错误消息。