Replies: 5 comments 1 reply
-
Hey @jackhub , thanks for the report.
|
Beta Was this translation helpful? Give feedback.
-
Please have a look, thanks. Here is the logs:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the log. Since the build is using absolute path to the compiler ( You need to convince the build tool to use compilers from Don't know much about macOS and it's dev tools. Will leave the ticket open for a while, maybe someone with better understanding with those tools might help. |
Beta Was this translation helpful? Give feedback.
-
What you can try (dirty workaround) move your clang binary to
then revert the move. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm interested in using bear to create a compile_commands.json from xcodebuild. I'm currently using xcpretty to do so but that tool is deprecated.
Is this sufficient to get bear to work? Or which docs should I read to understand how bear accomplishes generating the compile_commands.json? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Empty compile_commands.json with xcodebuild
To Reproduce
Use Xcode to create a new project (macOS or iOS).
Then build project with xcodebuild, it's OK.
xcodebuild -destination 'platform=macOS' build
Clean and build with bear.
xcodebuild -destination 'platform=macOS' clean
bear xcodebuild -destination 'platform=macOS' build
Then we will have an empty compile_commands.json, don't know how to check what's going on, PLEASE HELP!!!
Expected behavior
get right compile_commands.json as expected.
Environment:
Beta Was this translation helpful? Give feedback.
All reactions