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

Json files generated from xcpretty without the main project PCH result in many compilation errors through Oclint analysis #385

Open
fndppx opened this issue Mar 29, 2022 · 0 comments

Comments

@fndppx
Copy link

fndppx commented Mar 29, 2022

Json files generated from xcpretty without the main project PCH result in many compilation errors through Oclint analysis

image

image

My POD library file was introduced in the main project PCH, xcode compilation was successful, but I didn't see the PCH connected library in the JSON file generated by XcodeBuild

xcodebuild -workspace $myworkspace -scheme $myscheme clean

编译数据

xcodebuild -workspace $myworkspace -scheme $myscheme
-configuration Debug -sdk iphoneos
CLANG_ENABLE_MODULE_DEBUGGING=NO CODE_SIGNING_REQUIRED=NO ENABLE_BITCODE=NO COMPILER_INDEX_STORE_ENABLE=NO
| xcpretty -r json-compilation-database -o compile_commands.json

oclint-json-compilation-database -i xxx -e Pods -e DerivedData --
-report-type oclintReport.html >> compile_commands.json

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