关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法
来源:互联网 发布:淘宝问大家位置换了am 编辑:程序博客网 时间:2024/06/05 17:05
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就可以了
然后就可以编译通过了
- 关于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
- JSP自定义标签开发Foreach迭代标签
- poj 1159 Palindrome
- Treeview动态加载图片(winform)
- C变参函数
- 解决访问网上邻居时,用户名是灰色的无法更改的问题
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法
- SQL Server Express和SQL Server Compact的应用
- 学习的关键在于总结
- 嵌入式底层开发的一些细节
- MVC
- 安装mongrel:ERROR: Failed to build gem native extension
- Apache性能优化
- Vim的行号、语法显示等设置,即.vimrc文件的配置
- .htaccess妙用