Skip to content

Fix CI build failures from toolchain drift - #376

Merged
follesoe merged 1 commit into
mainfrom
fix/ci-build
Jun 22, 2026
Merged

follesoe merged 1 commit into
mainfrom
fix/ci-build

Conversation

@follesoe

Copy link
Copy Markdown
Contributor

Summary

The first CI run in ~2 months surfaced two unrelated, pre-existing build failures caused by toolchain drift (not by any source change). This fixes both.

Windows — NU1012 on pack

Packing Microcharts.Droid failed with Some dependency group TFMs are missing a platform version: net10.0-android (and Microcharts.iOS would have hit the same). Both projects pinned an obsolete NuGet.Build.Tasks.Pack 6.5.0 that mishandles modern platform-version TFMs. Microcharts.Core and Microcharts.Maui use the SDK's built-in packer and pack fine — so the pin is removed from Droid and iOS.

Verified locally: dotnet pack on both projects now succeeds with no NU1012.

macOS — Xcode/SDK mismatch

The build failed with This version of .NET for iOS (26.5.x) requires Xcode 26.5. The current version of Xcode is 26.3. The Select Xcode step pinned 26.3 while the floating iOS/MacCatalyst workloads now require 26.5. Switched to latest-stable so Xcode tracks the installed workload and this drift cannot recur.

Merging this unblocks the failing required check on #374 and #375.

🤖 Generated with Claude Code

Two unrelated pre-existing failures surfaced on the first CI run in ~2 months:

- Windows pack failed with NU1012 ("dependency group TFMs are missing a
  platform version: net10.0-android") on Microcharts.Droid and would have hit
  Microcharts.iOS too. Both projects pinned an obsolete NuGet.Build.Tasks.Pack
  6.5.0 that mishandles modern platform-version TFMs. Microcharts.Core and
  Microcharts.Maui use the SDK's built-in packer and pack fine, so remove the
  pin from Droid and iOS. Verified locally: both now pack without NU1012.

- macOS build failed because Select Xcode pinned 26.3 while the floating
  iOS/MacCatalyst workloads now require Xcode 26.5. Use latest-stable so Xcode
  tracks the installed workload and this drift cannot recur.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@follesoe follesoe self-assigned this Jun 22, 2026
@follesoe
follesoe merged commit 49008f3 into main Jun 22, 2026
2 checks passed
@follesoe
follesoe deleted the fix/ci-build branch June 22, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant