Commit 8ba1198
Pin .NET SDK and Xcode for dotnet-maui CI (#271)
* add version pinning
* fix: split workload update and restore to allow rollback file
dotnet workload restore --from-rollback-file fails because the command
internally invokes install with --skip-manifest-update, which conflicts
with --from-rollback-file. Use update first to pin manifest versions,
then plain restore to install workloads using those pins.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix: pin iOS/maccatalyst TargetPlatformVersion to 18.2
The workload manifest pin alone wasn't enough — the macos-26 runner has
the iOS 26.2 SDK pack pre-installed, so MSBuild resolved net9.0-ios to
the highest available TPV (26.2.9008), which requires Xcode 26.3.
Pinning the TPV explicitly (net9.0-ios18.2, net9.0-maccatalyst18.2)
forces MSBuild to use the 18.2 SDK pack regardless of what newer packs
are installed on the runner.
Updates the workflow build/output paths, UITests path lookup, and README
examples to match.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Update dotnet-maui/global.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* revert workload pin, use latest .NET iOS workload with Xcode 26.3
The workload manifest pin (18.2.9173) didn't expose a usable TPV path
on the macos-26 runner — NETSDK1140 listed only 18.0 and 26.2 as valid.
Rather than fight pack resolution, take the simpler route: use the
latest workload and pin Xcode to 26.3 (which is what 26.2.9008 needs).
Keeps the SDK pin in dotnet-maui/global.json and the explicit Xcode
selection in CI so the "out of sync Xcode/.NET iOS" failure mode is
still controlled, just from the Xcode side.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent c6204bb commit 8ba1198
2 files changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
107 | | - | |
| 112 | + | |
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| |||
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
162 | | - | |
| 167 | + | |
163 | 168 | | |
164 | 169 | | |
165 | 170 | | |
| |||
285 | 290 | | |
286 | 291 | | |
287 | 292 | | |
288 | | - | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments