1. 程式人生 > >解決 LLVM 錯誤 cannot specify -o when generating multi

解決 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