解决 LLVM 错误 cannot specify -o when generating multi

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

猜你喜欢

转载自blog.51cto.com/6095891/2339483
今日推荐