错误:'release' is unavailable: not available in automatic reference counting mode..(Xcode4.2.1+iOS5.0

来源:互联网 发布:c语言分割字符串函数 编辑:程序博客网 时间:2024/06/05 06:37

Xcode4.2.1+iOS5.0下面编译出现错误:

'release' is unavailable: not available in automatic reference counting mode..

解决办法:

You need to turn off Automatic Reference Counting. You do this by clicking on your project in the navigator (the top item in the finder-like thing on the left), then click on your target, select "Build Settings" and turn off the option "Objective-C Automatic Reference Counting" (you can use the search field on the upper right to search it).
0 0
原创粉丝点击