Skip to content

Instantly share code, notes, and snippets.

@gdavis

gdavis/gist:2837065

Created May 30, 2012
Embed
What would you like to do?
Turn off ARC for a specific file
In Xcode, go to the target for the app, Build Phases, and find the file you want to have ARC ignore in Compile Sources. Double-click the file, and in the popup add this compiler flag:
-fno-objc-arc
And when you compile Xcode will turn off ARC! Yay!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.