Skip to content

Use native SDK for arm64 Apple simulator tests - #131468

Draft
matouskozak wants to merge 1 commit into
mainfrom
matouskozak-fix-apple-mobile-native-sdk
Draft

Use native SDK for arm64 Apple simulator tests#131468
matouskozak wants to merge 1 commit into
mainfrom
matouskozak-fix-apple-mobile-native-sdk

Conversation

@matouskozak

Copy link
Copy Markdown
Member

Use the osx-arm64 .NET SDK when Apple simulator and Mac Catalyst tests target arm64. These jobs run on OSX.26.Arm64 Helix machines, so using the native SDK avoids running MSBuild and crossgen2 under Rosetta.

The x64 simulator legs and physical iOS/tvOS device legs continue using osx-x64 because their Helix hosts are Intel.

This addresses the Rosetta hang in runtime-extra-platforms build 1527467.

Validated the evaluated DotNetCliRuntime for all affected Apple target/architecture combinations.

Note

This pull request was created with GitHub Copilot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0c584949-9ec7-4368-8cd3-f48106d1b838
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @akoeplinger, @matouskozak, @simonrozsival
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Helix test job SDK selection so Apple simulator and Mac Catalyst test legs targeting arm64 use the native osx-arm64 .NET SDK (instead of osx-x64), avoiding Rosetta for MSBuild/crossgen2 on arm64 Helix hosts.

Changes:

  • For TargetsAppleMobile jobs, conditionally set DotNetCliRuntime=osx-arm64 when TargetArchitecture=arm64 and TargetOS is iossimulator, tvossimulator, or maccatalyst.

@matouskozak

matouskozak commented Jul 28, 2026

Copy link
Copy Markdown
Member Author

/azp run runtime-ioslikesimulator

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@dotnet dotnet deleted a comment from azure-pipelines Bot Jul 28, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants