推断xcode构建输出错误 - ***推断需要运行工作编译命令

时间:2017-09-22 14:54:23

标签: clang llvm xcodebuild llvm-clang facebook-infer

我使用以下命令在Xcode工作区上运行推断:

infer run --reactive -- xcodebuild -workspace WORKSPACE_NAME.xcworkspace -scheme SCEMENAME

代码构建成功。但后来我得到了:

   Build Succeeded
   Starting translating 56 files 

*** ERROR: Failed to execute compilation command. Output:
clang: error: cannot specify -o when generating multiple output files
*** Infer needs a working compilation command to run.

......很多这些......然后......

...
*** ERROR: Failed to execute compilation command. Output:
clang: error: cannot specify -o when generating multiple output files
*** Infer needs a working compilation command to run.
..

Nothing to compile. Try running `xcodebuild -workspace OneScream.xcworkspace -scheme OneScream clean` first.
There was nothing to analyze.

0 个答案:

没有答案