转载地址:http://blog.csdn.net/xbl1986/article/details/7216668

Xcode是Version 4.2 Build 4D151a

根据Objective-c 2.0程序设计上的旧版本的代码会发生NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的错误

需要手动关闭工程中ARC

工程中 Build Settings--->Apple LLVM compiler 3.0 - Language--->Objective-C Automatic Reference Counting 把YES改为NO就可以了

然后就可以编译通过了

相关文章:

  • 2021-05-21
  • 2022-12-23
  • 2021-05-05
  • 2021-11-18
  • 2021-09-01
  • 2021-11-23
  • 2021-08-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-12
  • 2022-12-23
  • 2021-07-02
  • 2021-07-24
相关资源
相似解决方案