[英]Apple LLVM 5.1 error
當我嘗試在Xcode版本5.1.1上打開舊項目時,proprecompiler給出以下錯誤
clang: error: unknown argument: '-fobjc' [-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
順便提一下,某些類是使用-fobjc -arc
標志編譯的。
您知道如何解決此問題嗎?
看起來您使用的是錯誤的標志。 您應該使用-fobjc-arc
。
再次檢查編譯器標志,似乎您正在使用-fobjc
而不是-fobjc-arc
。
采用
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.