How To Turn Off ARC On Individual Files In An Xcode Project

Arash Zeinoddini recently sent me a tip on how to turn off ARC on individual files in an Xcode project. The steps are listed below:

  1. Click on the Project.
  2. Click on the target.
  3. Select build phases tab.
  4. Select the multiple files in which you want to turn off ARC, hit Enter key.
  5. Type -fno-objc-arc in the dialog and press Done.

The image below shows the steps as done within Xcode:

Thanks Arash for the tip.