-
Notifications
You must be signed in to change notification settings - Fork 4.2k
env DEVELOPER_DIR and SDKROOT missing when linking executable file #12321
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
Comments
any update for this issue , sames caused by upgrade the lastest xcode |
It looks like the installation might be incomplete and/or Bazel might be looking in the wrong place for the developer tools. Could you try if you haven't: https://docs.bazel.build/versions/master/migrate-xcode.html#troubleshooting |
@susinmotion thank you for your reply,I tried the method you said, but there is still the same problem add more info: 1.Env can be found in the compile stage
I don’t understand why it will be different at different stages |
Ahhh thanks for looking into this. The "missing env" issue is real. It's this one: #12049. But I still think there might be something else going on here... Passing to cc rules for more input. |
FWIW with my issue I've never seen an action not get the apple env that requires it. |
Thanks everyone for your help, close this question |
Uh oh!
There was an error while loading. Please reload this page.
Description of the problem / feature request:
Feature requests: what underlying problem are you trying to solve with this feature?
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
build an executable file for ios/macos
What operating system are you running Bazel on?
ProductName: Mac OS X
ProductVersion: 10.15.3
BuildVersion: 19D76
Have you found anything relevant by searching the web?
#11716
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: