Skip to content

[msbuild] Update ComputeInstructionSet for Xcode 27. Fixes #24653 - #26637

Open
rolfbjarne wants to merge 2 commits into
mainfrom
dev/rolf/fix-issue-24653
Open

rolfbjarne wants to merge 2 commits into
mainfrom
dev/rolf/fix-issue-24653

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Update the ComputeInstructionSet device and CPU tables through September 2026.

This updates maximum OS versions for devices that no longer support the latest release, adds the devices and CPUs introduced since the previous update, and covers the iOS/iPadOS and tvOS 27 instruction-set boundaries.

Sources:

Fixes #24653.

🤖 Pull request created by Copilot

Refresh device and CPU data, correct maximum OS versions, and cover
the iOS/iPadOS and tvOS 27 instruction-set boundaries.

Sources:
- Apple security releases and supported-device lists:
  https://support.apple.com/en-us/100100
  https://support.apple.com/en-us/149034
  https://support.apple.com/en-us/149036
- Apple device identification and technical specifications:
  https://support.apple.com/en-us/108044
  https://support.apple.com/en-us/108043
  https://support.apple.com/en-us/101605
- Apple Newsroom product announcements:
  https://www.apple.com/newsroom/archive/
- A12X/A12Z architecture details:
  https://en.wikipedia.org/wiki/Apple_A12X_Bionic

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 16, 2026 13:24

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.

🟡 Changes recommended

Address the two test coverage gaps and narrow the inaccurate A12 documentation comment.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates Apple device and CPU compatibility data for Xcode 27, including iOS/iPadOS and tvOS boundaries.

Changes:

  • Adds newer device and CPU mappings.
  • Updates legacy maximum OS versions.
  • Expands instruction-set boundary tests.
File summaries
File Summary Review notes
tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ComputeInstructionSetTaskTests.cs Adds updated iOS/iPadOS and tvOS boundary cases. Moderate (1): Add a tvOS 26.7 case and focused coverage for A19/A19Pro/A20Pro/M5 mappings. Nit (2): Scope the A12 comment to the applicable iPad models.
msbuild/Xamarin.MacDev.Tasks/Tasks/ComputeInstructionSet.cs Updates device and CPU instruction-set tables. No final comments.
Review details

Suppressed comments (2)

tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ComputeInstructionSetTaskTests.cs:48

  • ⚠️ Testing — The new max-version boundary for AppleTV4/AppleTV4K is 26.6, so 26.7 is the first version that must select armv8.3-a. The current cases cover only 26.6 and 27.0; add a 26.7 case so an off-by-one max-version regression cannot pass these tests.
		[TestCase (ApplePlatform.TVOS, "26.6", "armv8-a")]     // Last release for Apple TV 4
		[TestCase (ApplePlatform.TVOS, "27.0", "armv8.3-a")]   // Apple TV 4K 2nd gen and newer

tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ComputeInstructionSetTaskTests.cs:27

  • 💡 Test coverage — These cases only assert the aggregate minimum ISA and never exercise the newly added A19/A19Pro/A20Pro/M5 mappings: the iOS boundaries select the older A12/A12Z devices, while macOS derives apple-m1 directly from the RID. Add focused coverage for the new CPU entries so a typo or unsupported instruction-set value cannot go unnoticed.
		[TestCase (ApplePlatform.iOS, "26.0", "armv8.3-a")]   // A12 devices can run iOS/iPadOS 26
		[TestCase (ApplePlatform.iOS, "26.7", "armv8.3-a")]   // Last release for A12 devices
		[TestCase (ApplePlatform.iOS, "27.0", "armv8.3-a")]   // A12Z iPad Pro can run iPadOS 27
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

@vs-mobiletools-engineering-service2

This comment has been minimized.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: fa19838871be7aa48e16397972858b0c4697bc8e [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #fa19838] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

0 tests crashed, 2 tests failed, 262 tests passed.

Failures

❌ introspection tests

1 tests failed, 6 tests passed.

Failed tests

  • introspection/iOS - simulator/CoreCLR: LaunchTimedOut

Html Report (VSDrops) Download

❌ monotouch tests (iOS)

1 tests failed, 24 tests passed.

Failed tests

  • monotouch-test/iOS - simulator/Release (compat inline dlfcn): LaunchTimedOut

Html Report (VSDrops) Download

Successes

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 31 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 31 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 25 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 25 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
⚠️ Tests on macOS Golden Gate (27): Tests skipped, incorrect beta version. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: fa19838871be7aa48e16397972858b0c4697bc8e [PR build]

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the ComputeInstructionSet task for Xcode 27

3 participants