Allow discovering host Xcodes with vendored BUILD - #1878
Open
keith wants to merge 1 commit into
Open
Conversation
Previously when you vendored an explicit modules BUILD file, this would disable all scanning locally. This is still the default behavior but now you can set an env var to also discover local Xcodes. This is useful for 2 cases: 1. If you run remote exec builds from Linux, you have to vendor a BUILD file, but you might not strictly enforce Xcode versions for local devs 2. You do enforce strict versions for local devs, but also want to test betas without having to manually generate these BUILD files before testing
keith
requested review from
aaronsky,
adincebic,
brentleyjones and
luispadron
as code owners
July 31, 2026 19:11
Member
Author
|
i went back and forth on the api for something in the MODULE.bazel vs env vs both, I'm up for suggestions! |
adincebic
approved these changes
Aug 2, 2026
Contributor
I would avoid MODULE.bazel. Env seems more flexivle. |
aaronsky
approved these changes
Aug 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously when you vendored an explicit modules BUILD file, this would
disable all scanning locally. This is still the default behavior but now
you can set an env var to also discover local Xcodes. This is useful for
2 cases:
file, but you might not strictly enforce Xcode versions for local
devs
betas without having to manually generate these BUILD files before
testing