Created
May 30, 2012 15:39
-
-
Save gdavis/2837065 to your computer and use it in GitHub Desktop.
Turn off ARC for a specific file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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