How to enable/disable ARC in an xcode project?

后端 未结 4 725
囚心锁ツ
囚心锁ツ 2020-12-04 11:05

If a project has already been created with ARC disabled, how do I enable it and vice versa?

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 11:39

    In Xcode 5.0.2, select your project in Navigatior, select Build Settings, search for Apple LLVM 5.0 - Language - Objective C and change Objective-C Automatic Refence Counting to NO

提交回复
热议问题