[英]Apple LLVM 5.1 error
When i try to open an old project on Xcode Version 5.1.1, proprecompiler gives the following 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
by the way some classes are compiled with -fobjc -arc
flag. 顺便提一下,某些类是使用-fobjc -arc
标志编译的。
Do you have any idea how to fix this? 您知道如何解决此问题吗?
Looks like you're using the wrong flag. 看起来您使用的是错误的标志。 You should be using -fobjc-arc
. 您应该使用-fobjc-arc
。
Check your compiler flag again , its seems like you are using -fobjc
instead of -fobjc-arc
. 再次检查编译器标志,似乎您正在使用-fobjc
而不是-fobjc-arc
。
Use 采用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.