facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.8k stars 2k forks source link

Not working on CocoPod project #1770

Open dingxiaolong opened 1 year ago

dingxiaolong commented 1 year ago

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

Please include the following information:

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

Could u help check it please . Many thanks .