AFNetworking 2.0 编译不过的问题修复
2014-03-30 18:05
267 查看
AFNetworking 2.0 当Deployment Target 低于6.0时,AFURLConnectionOperation.h,AFURLSessionManager.h
由于sdk低于6.0时,dispatch_queue_t ARC没有托管,出现提示错误
修改为
@property (nonatomic, strong) dispatch_queue_t completionQueue;
由于sdk低于6.0时,dispatch_queue_t ARC没有托管,出现提示错误
Property with 'retain (or strong)' attribute must be of object type
修改为
#if OS_OBJECT_USE_OBJC @property (nonatomic, strong) dispatch_queue_t completionQueue; #else @property (nonatomic, assign) dispatch_queue_t completionQueue; #endif
相关文章推荐
- AFNetworking 2.0 编译不过的问题修复
- AFNetworking 2.0 编译不过的问题修复
- AFNetworking 2.0 编译不过的问题修复
- AFNetWorking 在低版本sdk下编译不过的问题
- 内存问题导致编译不过!
- PJSIP2.0使用以及交叉编译存在问题解决
- 关于stdafx.h包含的winnt.h编译通不过的问题解决方法
- 使用libcurl源码编译不过的问题
- 引用realm包 io.realm:realm的编译不通过问题Android Studio2.0
- Android4.4 在Framework新增内部资源编译不过的问题
- 编译xlua容易遇到的问题,xlua编译不过
- 一个签名导致的APK编译不过问题
- .NET Core 2.0迁移技巧之MemoryCache问题修复
- linux下Qt5 编译出现cannot find -IGL问题修复
- 按照 '图文并茂教你在keil下搭建RT-thread最小系统工程' 编译不过的问题
- C++编译过程中"没有找到MFC80UD.DLL,因此这个程序未能启动.重新安装应用程序可能会修复此问题"? 的彻底解决
- 新下载的package编译通不过的问题
- 编译docdoku-plm-2.0遇到的两个问题
- CLDC1.1+MIDP2.0的编译问题
- 关于 debug能过而release编译不过的问题