首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

xcode5解决有关问题ARC forbids explicit message send of 'release'

2013-10-15 
xcode5解决问题ARC forbids explicit message send of release一、问题用XCODE5新建工程,COPY老工程代码,编

xcode5解决问题ARC forbids explicit message send of 'release'

一、问题

用XCODE5新建工程,COPY老工程代码,编译出现以下错误:

ARC forbids explicit message send of 'release'


二、解决

工程-->"Build Settings"-->找到Objective-C Automatic Reference Counting项-->将它的值设置为NO。

再次编译,就没这个错误了。

xcode5解决有关问题ARC forbids explicit message send of 'release'

热点排行