Repository navigation
ci: pin iOS sample workload set to 10.0.112 and Xcode 26.6 - #631
Merged
Merged
Conversation
…sample builds Remove the WorkloadSetVersion 10.0.107 pin and the Select Xcode step from the MAUI, Avalonia and Uno macOS jobs so they build against the newest iOS SDK pack and the macos-26 image's default Xcode. Update the explanatory comments accordingly. Closes CommunityToolkit#627
An unpinned workload set now resolves 10.0.115, whose iOS SDK pack (27.2) requires Xcode 27.2, which is not on macos-26. Pin to 10.0.112, the newest set on the 26.5 pack line, and select the matching Xcode 26.5.
iOS SDK pack 26.5.10318 (workload set 10.0.112) requires Xcode 26.6, not 26.5. Select 26.6 explicitly and update the comments.
The ubuntu-26.04 image 20261111.196 added .NET SDK 11.0.100, so the dotnet muxer selected it and 'dotnet workload install wasm-tools' installed the .NET 11 workload set. Uno.Wasm.Bootstrap then failed the net10.0-browserwasm build with UNOWA0001. Pin the SDK to 10.0 via global.json for this job only.
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.
Summary
Moves the iOS / Mac Catalyst sample CI jobs off the stale
10.0.107workload set pin and Xcode 26.3, onto the newest workload set that works with the Xcode available onmacos-26. Also fixes thetodoapp-uno / browserwasmjob, which was failing onmainbecause of a runner image change.Closes #627
Changes
iOS / Mac Catalyst (the subject of #627)
Affected jobs:
todoapp-maui / ios,todoapp-avalonia / ios,todoapp-uno / ios-maccatalyst.WorkloadSetVersion:10.0.107->10.0.112(iOS packMicrosoft.iOS.Sdk.net10.0_26.526.5.10318).RequiredXcodeVersion:26.3->26.6, selected with the existingSelect Xcodestep. This is themacos-26default today, selected explicitly so an image default change can't silently break the pairing.macos-15notes and the stale 10.0.107 rationale.Uno browserwasm (outside the scope of #627)
todoapp-uno / browserwasmwas already failing onmain(run 43412069859) with:Cause: the
ubuntu-26.04image20261111.196added .NET SDK 11.0.100 alongside the 10.0.x SDKs. Thedotnetcommand picks the highest installed SDK, sodotnet workload install wasm-toolsinstalled the .NET 11 workload set (11.0.100.1), which doesn't satisfy thenet10.0-browserwasmhead.Fix: in that job only, add an
sdkpin (10.0.100,rollForward: latestFeature) to the runner's checkout of the rootglobal.json, before the workload install. Nothing changes in the repo'sglobal.json.I included this here so the
Build Samplesrun, and itsAll samples builtcheck, can go green. It can be split into its own PR if preferred.Why a workload set pin remains
The issue asks for the pin to be removed entirely. I tried that first and the three macOS jobs failed:
With no
--version,dotnet workload installresolves workload set 10.0.115, which moved to the 27.x iOS pack line.macos-26only has Xcode 26.x, and Xcode 27 is out of scope for this issue. 10.0.112 is the newest set that stays on the 26.x line (10.0.113 and later use 27.x packs). Its iOS pack requires Xcode 26.6.So this deviates from the "No
WorkloadSetVersionpin remains" acceptance criterion. The pin is now current and tied to a matching Xcode, and the comments say when to drop it (once Xcode 27 is on a standard runner image).Validation
The
Build Samplesrun on this PR passes in full, includingtodoapp-maui / ios,todoapp-avalonia / ios,todoapp-uno / ios-maccatalystandtodoapp-uno / browserwasm.