Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on CocoPod project #1770

Open
dingxiaolong opened this issue Jun 19, 2023 · 0 comments
Open

Not working on CocoPod project #1770

dingxiaolong opened this issue Jun 19, 2023 · 0 comments

Comments

@dingxiaolong
Copy link

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant