1

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

0 回答 0