Xcode 9 使用 LLVM 混淆器会提示错误:
clang: error: cannot specify -o when generating multiple output files
通过对比编译参数发现是 Xcode 9 多了一个编译参数 -index-store-path ,解决的方法是在 Build Settings 里搜索 index store,设置成 No 就可以了,如下图所示:

原文地址:https://www.exchen.net/解决-llvm-错误-cannot-specify-o-when-generating-multiple-output-files.html
本文解决了在Xcode9中使用LLVM混淆器时出现的'cannot specify -o when generating multiple output files'错误。问题源于Xcode9新增的-index-store-path编译参数,解决方法是在Build Settings中将indexstore设置为No。
6331

被折叠的 条评论
为什么被折叠?



