2013-10-25

Build Error: -fobjc-arc is not supported On Mac OS10.8 Mavericks and XCode 5.0

If you upgrade your Mac OSX project from XCode 4.6.3 to XCode 5.0.1
you may meet the following build problem.

error: -fobjc-arc is not supported on platforms using the legacy runtime

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

trun off the ARC in the project settings, and rebuild with XCode 5.0.1

No comments:

Post a Comment