2014-04-03 30 views
1

我周圍搜索到了很多有不同參數的帖子,但我還沒有看到與'-wall'有關的帖子 下面是完整的堆棧:奇怪/ usr/bin/clang失敗,退出代碼1錯誤 - 未知參數'-wall'

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

** BUILD FAILED ** 

The following build commands failed: 
ProcessPCH /var/folders/bt/x7t6pymn3vs_mykqfrpwhwgdgbmz8t/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/5.1-5B130a/Xcode/SharedPrecompiledHeaders/MyAppName-Prefix-axoyogsqgxeawmhjfylnspfdgfkm/MyAppName-Prefix.pch.pch MyAppName/MyAppName-Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler 

我運行的是最新版本的Xcode 5.1(5B130a) 我還沒有更改任何代碼庫最近,但我相信的Xcode更新前兩天。我在其他項目上沒有遇到過這個問題。

回答

1

這似乎是鏗鏘的新版本配備的Xcode 5.1臨時解決方法對我來說是降級到5.0.2的Xcode

相關問題