Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Clang 推断xcode生成输出错误-***推断需要一个工作编译命令才能运行_Clang_Llvm_Xcodebuild_Llvm Clang_Facebook Infer - Fatal编程技术网

Clang 推断xcode生成输出错误-***推断需要一个工作编译命令才能运行

Clang 推断xcode生成输出错误-***推断需要一个工作编译命令才能运行,clang,llvm,xcodebuild,llvm-clang,facebook-infer,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: e

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