iphone开发 运行模拟器出现"ARC forbids explicit message send of 'retain' 错误信息
来源:互联网 发布:网络机柜报价 编辑:程序博客网 时间:2024/04/30 12:55
ARC为自动引用计数,全称"Automatic Reference Counting", 表示你不需要手动保持或者释放变量, 系统会自动进行该项操作。 如果在你的代码中出现该问题,可以通过取消该文件的“自动引用计数”功能:
单击左侧项目导航栏的项目》Build Phases》Compile Sources
选择需要取消该功能的代码文件名,双击并输入"-fno-objc-arc
"即可。
- iphone开发 运行模拟器出现"ARC forbids explicit message send of 'retain' 错误信息
- ARC forbids explicit message send of'retain'
- ARC forbids explicit message send of'retain'
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of 'release
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of 'autorelease'
- ARC forbids explicit message send of release
- ARC forbids explicit message send of "release"
- ARC forbids explicit message send of release
- ARC forbids explicit message send of 'autolease'
- ARC forbids explicit message send of 'retainCount'
- ARC forbids explicit message send of 'retainCount'
- 【索引】字符串
- Android程序怎样禁止横竖屏切换
- c++数组引用一二
- Brief Intro to NSError of Foundation Framework
- Linux下单网卡多vlan多虚拟机
- iphone开发 运行模拟器出现"ARC forbids explicit message send of 'retain' 错误信息
- 【索引】大数
- 标准库 STL :Allocator能做什么?
- maven 配置
- 5.2 PREDICTING PERFORMANCE
- signal_pending
- ssh-keygen的使用方法
- ios 基于CAEmitterLayer的雪花,烟花,火焰,爱心等效果demo
- unixODBC使用经验分享