how does the Xcode find its version #2348
Replies: 4 comments 6 replies
-
Are you using a standard recent macOS installation? (I ask because of your gcc thread) Bazel uses spotlight APIs to discover Xcode versions, this likely indicates it couldn't find any. You can try to run:
To see what is in the generated BUILD file that should have all the discovered versions (I'm not sure if this works in this case because it might fail too early) |
Beta Was this translation helpful? Give feedback.
-
Thanks @keith I will check it out ! I encountered the error while compiling this Repo if you have time to take a look ,https://github.com/mvukov/rules_ros2 I was using clang-14 which the author said it worked while compiling I faced this, i am new to Bazel and mostly I use Linux for work and for personal I got this Mac errors |
Beta Was this translation helpful? Give feedback.
-
Hi, I also encountered a similar issue. I used xcodes to install the Xcode. I've confirmed the the xcode-select path is there:
But bazel failed to detect the installed Xcode:
Did I miss something during my setup? |
Beta Was this translation helpful? Give feedback.
-
https://stackoverflow.com/a/46460129 this worked for me. |
Beta Was this translation helpful? Give feedback.
-
xcode-select --version is working
what am i miising here?
Beta Was this translation helpful? Give feedback.
All reactions