-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Error in compile: Expected action_config for 'objc-compile' to be configured #21014
Comments
@mayt-moonboy Did you have Xcode installed? |
Yes. My xcode version is listed in the other information section. |
I don't see the same failure mode when testing locally, can you pass |
|
I can reproduce this error in a VM where I only have the command line tools, is |
I also just started a new project in xcode to confirm it is set up properly. Everything appears to be fine in that regard. |
I have the same env setting with yours. I suppose you could reboost the system to check if everything goes ok then. |
Thanks. Yes I have tried rebooting, and yesterday I installed an os update as well. All to no avail. I am getting the same error. |
I uninstalled xcode and am currently reinstalling. I will report back success or failure. |
unforutnately, that did not work. |
Do you have |
yes |
Description of the bug:
Context
I am trying to get a minimal example a glfw project running on my mac m1 in bazel. My build file for glwf includes an objc_library which is giving me a headache but I think its the last roadblock before I get my example running.
Error
I get the following error when running the binary of the minimal example:
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I have created a SSCCE to replicate the issue here
Which operating system are you running Bazel on?
MacOS Version 14.2.1 (23C71)
What is the output of
bazel info release
?release 6.4.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
not that I know of
Have you found anything relevant by searching the web?
I have searched around looking for the answer to this to no avail. Mostly I am pointed in the direction of this being a crosstool error (which it shouldn't be) or an xcode not installed issue.
Any other information, logs, or outputs that you want to share?
Machine: 2020 Mac M1 Mac Mini
OS: Version 14.2.1 (23C71)
Bazel Version: 6.4.0
Xcode Version: 15.2
The text was updated successfully, but these errors were encountered: