当我试图在Xcode版本5.1.1上打开一个旧项目时,propre编译器会给出以下错误
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标志编译的。
你知道怎么解决这个问题吗?
发布于 2014-06-20 07:57:33
看来你用错旗子了。您应该使用-fobjc-arc。
发布于 2014-06-20 07:54:15
再次检查编译器标志,似乎您使用的是-fobjc而不是-fobjc-arc。
使用
https://stackoverflow.com/questions/24322452
复制相似问题