类似ARC forbids explicit message send of'release' 错误解决
2013-05-08 09:39
531 查看
You are currently using the ARC to reference count for you.
(ARC is "Automatic Reference Counting", a new feature to iOS 5).
Therefore you do not need to manually retain or release.
You can either remove your retain call all together or turn off ARC by doing the following:
Click on the name of the project on the navigation view in the left side,
go to Targets -> Build Phases and add -fno-objc-arc
to
the "compiler flags" for any relevant files.
相关文章推荐
- IOS开发ARC forbids explicit message send of 'autorelease'错误解决办法
- IOS开发ARC forbids explicit message send of 'autorelease'错误解决办法
- 错误: ARC forbids explicit message send of 'release'
- ARC forbids explicit message send of'release 错误
- iOS开发笔记--错误 ARC forbids explicit message send of'release'
- xcode5解决问题ARC forbids explicit message send of 'release'
- ARC forbids explicit message send of'release'
- ARC forbids explicit message send of'release'
- xcode ARC forbids explicit message send of 'release'
- ARC forbids explicit message send of'release'
- [iOS_xcode异常报错][__NSCFNumber surface] 和 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'
- xcode 编译产生的 ARC forbids explicit message send of release 错误
- ARC forbids explicit message send of "dealloc"怎么解决
- 关于在xcode上写oc语言有id类型、出现ARC forbids explicit message sendof'dealloc'的问题