Skip to content

Instantly share code, notes, and snippets.

View theaudience's full-sized avatar

Jochen Herrmann theaudience

  • Germany
View GitHub Profile
@theaudience
theaudience / turn-off-arc-on-individual-files
Created December 18, 2011 17:09
Turn off ARC on individual files
To turn off ARC for individual files you have to set the -fno-objc-arc compiler flag to these files.
Open your project in Xcode
1. Click on the project name on the left of Xcode
2. Select the target
3. Click on the build phases tab
4. Select the files in which you want to turn off ARC (you can select multiple files by holding CMD.
5. Press Enter on multiple files or double click on a single file
6. Type "-fno-objc-arc" without the quotes