转载地址:http://blog.sina.com.cn/s/blog_4adf31ea0102edmf.html
解决办法:
打开当前工程,打开"Build Settings",找到Objective-C Automatic Reference Counting项,将它的值设置为NO。
再次编译,就消除了这个错误了。
同样这样也能消除,NSAutoreleasePool在自动引用计数模式下无法使用;ARC下,使用@autoreleasepool标签;
'NSAutoreleasePool' is unavailable: not available in automatic reference counting mode