Skip to content

CI: every dotnet-sdk bump needs the iOS test version edited in four places #5849

Closed

Description

@jamescrosswell

Every dotnet-sdk bump that moves the iOS workload pack breaks the iOS CI jobs until the same iOS version is edited in four places:

  • TargetPlatformVersion in test/Sentry.Maui.Device.TestApp/Sentry.Maui.Device.TestApp.csproj
  • the net10.0-iosXX.Y TFM in integration-test/net9-maui/Sentry.Maui.Device.IntegrationTestApp.csproj
  • the matching TFM in integration-test/ios.Tests.ps1
  • the default $IosVersion in Get-IosSimulatorUdid (scripts/device-test-utils.ps1)

This happened in #5737 (10.0.402) and #5838 (10.0.403), where the new pack dropped the pinned iOS version as a valid TargetPlatformVersion (NETSDK1140).

The pins were added in #4096, before global.json pinned workloadVersion. Now that the workload set is pinned, a version-less net10.0-ios already resolves deterministically to the pinned pack's default, so the pins only duplicate global.json. The simulator runtime can likewise follow the Xcode version CI pins in .github/actions/environment/action.yml.

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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions