ARC forbids explicit message send of'release'
'release' is unavailable: not available inautomatic reference counting mode
解决办法:
打开当前工程,打开"Build Settings",找到Objective-C Automatic Reference Counting项,将它的值设置为NO。
再次编译,就消除了这个错误了。
本文介绍了解决在Objective-C自动引用计数模式下遇到的'禁用显式消息发送'错误的方法。通过调整项目的Build Settings设置,将Objective-C自动引用计数设置为NO,可以有效解决此问题。
ARC forbids explicit message send of'release'
'release' is unavailable: not available inautomatic reference counting mode
解决办法:
打开当前工程,打开"Build Settings",找到Objective-C Automatic Reference Counting项,将它的值设置为NO。
再次编译,就消除了这个错误了。
5948
1793
296
642

被折叠的 条评论
为什么被折叠?