我使用以下命令在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.