我刚刚将Xcode更新为5.1.1,我无法构建我的项目。 Xcode给出了这个错误
clang: error: unknown argument: '-fno_objc_arc' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
答案 0 :(得分:1)
clang: error: unknown argument: '-fno_objc_arc'
您为文件中的禁用弧设置的标志是错误的,它应该是-fno-objc-arc
有关更多参考,请参阅How to disable arc flag?