[ci] Always install the universal iOS simulator.#32003
Merged
rmarinho merged 1 commit intodotnet:mainfrom Oct 15, 2025
Merged
Conversation
Otherwise: 1. The arm64 iOS simulator isn't able to run x64 apps. 2. We run x64 apps in the iOS simulator in dotnet/macios (even on arm64 bots). 3. If MAUI installs the arm64 iOS simulator, it'll make our x64 tests apps fail to launch. So fix this by installing the universal iOS simulator when using Xcode 26+ (earlier versions of Xcode doesn't support the '-architectureVariant' argument).
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR modifies Xcode simulator provisioning in CI pipelines to always install universal iOS simulators on Xcode 26+, ensuring compatibility with x64 test apps running on arm64 machines.
Key Changes:
- Adds conditional logic to install universal iOS simulators when Xcode version is 26 or greater
- Maintains backward compatibility by falling back to standard iOS platform download for earlier Xcode versions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/pipelines/common/provision.yml | Adds Xcode version check and conditional universal iOS simulator installation during provisioning |
| eng/pipelines/arcade/setup-test-env.yml | Adds identical Xcode version check and conditional universal iOS simulator installation for test environment setup |
rmarinho
approved these changes
Oct 15, 2025
Member
|
/backport release/10.0.1xx |
Member
|
/backport to net10.0 |
Contributor
|
Started backporting to net10.0: https://github.com/dotnet/maui/actions/runs/18620708202 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description of Change
Always install the universal iOS simulators.
Otherwise:
So fix this by installing the universal iOS simulator when using Xcode 26+
(earlier versions of Xcode doesn't support the '-architectureVariant'
argument).
Note
Are you waiting for the changes in this PR to be merged?
Yes!
N/A