infer icon indicating copy to clipboard operation
infer copied to clipboard

Not working on CocoPod project

Open dingxiaolong opened this issue 1 year ago • 0 comments

Please make sure your issue is not addressed in the FAQ.

Please include the following information:

  • [1.1.0 ] The version of infer from infer --version.
  • [ MacOS Ventura] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
  • [infer run --skip-analysis-in-path Pods --no-xcpretty --keep-going --compilation-database-escaped compile_commands.json Which command you ran, for example infer -- make.
  • [ error.md ] The full output in a paste, for instance a gist.
  • [
  • I am using a M1 mac.
  • When I do testing with non-Pod project .
    -I use the
    "xcodebuild -target HelloWorldApp -configuration Debug -sdk iphonesimulator clean infer --keep-going -- xcodebuild -target HelloWorldApp -configuration Debug -sdk iphonesimulator" It works well.

But on Pod project, use this: "xcodebuild clean build -workspace HelloWorldApp.xcworkspace -scheme HelloWorldApp -destination 'generic/platform=iOS' COMPILER_INDEX_STORE_ENABLE=NO | tee xcodebuild.log > /dev/null xcpretty -r json-compilation-database -o compile_commands.json < xcodebuild.log > /dev/null infer run --skip-analysis-in-path Pods --no-xcpretty --keep-going --compilation-database-escaped compile_commands.json"

face the error in the attachment

  • ] If possible, a minimal example to reproduce your problem (for instance, some code where infer reports incorrectly, together with the way you run infer to reproduce the incorrect report).

Could u help check it please . Many thanks .

dingxiaolong avatar Jun 19 '23 01:06 dingxiaolong