[원] xcode5.0 업그레이드 5.1에서 만난clang: error: unknown argument:'-fobj-arc'오류

1097 단어 ioserror
XCODE5.0에서 XCODE5.1로 업그레이드된 후 LLVM도 5.0에서 5.1로 업그레이드되었습니다.

clang: error: unknown argument: '-fobj-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

Xcode Release Notes에서 설명 찾기

The Apple LLVM compiler in Xcode 5.1 treats unrecognized command-line options as errors. This issue has been seen when building both Python native extensions and Ruby Gems, where some invalid compiler options are currently specified. Projects using invalid compiler options will need to be changed to remove those options. To help ease that transition, the compiler will temporarily accept an option to downgrade the error to a warning:

target-build phases-중'-fobj-arc'를'-fobjc-arc'로 변경합니다.
http://www.cnblogs.com/wengzilin/p/3720962.html

좋은 웹페이지 즐겨찾기