关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法 .
来源:互联网 发布:微加粉软件免费 编辑:程序博客网 时间:2024/06/11 21:34
Xcode是Version 4.2 Build 4D151a
根据Objective-c 2.0程序设计上的旧版本的代码会发生NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的错误
需要手动关闭工程中ARC
工程中 Build Settings--->Apple LLVM compiler 3.0 - Language--->Objective-C Automatic Reference Counting 把YES改为NO就可以了
然后就可以编译通过了
0 0
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法 .
- NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 'release' is unavailable: not available in automatic reference counting mode..
- 'release' is unavailable: not available in automatic reference counting mode..
- 'release' is unavailable: not available in automatic reference counting mode
- 'release' is unavailable: not available in automatic reference counting mode
- object_setInstanceVariable is unavailable: not available in automatic reference counting mode
- 错误:'release' is unavailable: not available in automatic reference counting mode..(Xcode4.2.1+iOS5.0)
- 错误:'release' is unavailable: not available in automatic reference counting mode..(Xcode4.2.1+iOS5.0)
- 错误:'release' is unavailable: not available in automatic reference counting mode.(Xcode 4.6.2+iOS6.1)
- 错误:'release' is unavailable: not available in automatic reference counting mode..(Xcode4.2.1+iOS5.0
- 'release' is unavailable: not available in automatic reference counting mode解决方案
- 'release' is unavailable: not available in automatic reference counting modeAutomatic
- release' is unavailable: not available in automatic reference counting modeAutomatic
- 用RxJava实现倒计时与踩坑
- 浅谈HTTP中Get与Post的区别
- ZBrush中的SubTool工具该怎样使用
- swift 二维码扫描
- js传参写法
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法 .
- Android中Selsetor基本使用二,选中时改变按钮背景
- DB2数据库设置归档模式
- 图像处理方向常用网站
- Eclipse中已安装的插件如何卸载
- pthread_create 解析
- 实现PPT演示的"非全屏播放"效果
- setOnKeyListener---邮箱验证
- jsp传参