1
当我尝试在版本的Xcode 5.1.1打开旧项目,proprecompiler一些类与-fobjc -arc
标志编译的方式提供了以下错误苹果LLVM 5.1错误
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标志编号的, – Chan
使用-fno-objc-arc来禁用或-fobjc-arc来启用标志 – Chan