How to disable ARC for a single file in Xcode 5?

前端 未结 3 2092
刺人心
刺人心 2020-12-09 07:35

I recently downloaded Xcode 5, and it\'s now my primary IDE. However, I now need to disable Automatic Reference Counting for a single file in my project.

In Xcode 4

3条回答
  •  误落风尘
    2020-12-09 08:18

    To fix the real issue rather than a GUI issue, select the file and press ENTER, then you can add the -fno-objc-arc compiler flag.

提交回复
热议问题