How to remove ARC from XCode

后端 未结 3 2026
深忆病人
深忆病人 2021-02-10 03:29

I have already created a project in XCode 4.2 with ARC checked. The problem is that I have to download and add the ASIHttpRequest files. This is giving a whole bunch of errors w

3条回答
  •  轮回少年
    2021-02-10 03:38

    Click on the name of the project on the navigation view in the left side, go to Targets -> Build Phases and add -fno-objc-arc to the "compiler flags" for any relevant files.

提交回复
热议问题