You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CI runs the script ./scripts/swift-version.sh to select the version of Xcode used for swift compiles. For most situations it is near-deterministic, but the listing order depends on Spotlights ordering (so a black box to us), as well as what the last version of Xcode selected on the system was.
We should make this completely deterministic, either by being explicit on the Swift->Xcode mappings, or by skipping the currently selected check and making the ordering completely deterministic. I lean to making this explicit, as it will better point out failures in the setup.
The text was updated successfully, but these errors were encountered:
This avoids using spotlight to find Xcode if it can, avoiding some times when Spotlight has been unreliable on the CO machines. It also solves #4503 by making the selection of Xcode on CI machines deterministic (given identical installs of Xcode).
fixes#4534 and #4503 by looking in `/Applications` for Xcode before using Spotlight, and skipping the current default Xcode when running under Jenkins.
In CI runs the script
./scripts/swift-version.sh
to select the version of Xcode used for swift compiles. For most situations it is near-deterministic, but the listing order depends on Spotlights ordering (so a black box to us), as well as what the last version of Xcode selected on the system was.We should make this completely deterministic, either by being explicit on the Swift->Xcode mappings, or by skipping the currently selected check and making the ordering completely deterministic. I lean to making this explicit, as it will better point out failures in the setup.
The text was updated successfully, but these errors were encountered: