Skip to content

Pin iOS 18.0 in Samples and Test apps - #4096

Merged
jamescrosswell merged 7 commits into
mainfrom
xcode_16_3
Apr 10, 2025
Merged

jamescrosswell merged 7 commits into
mainfrom
xcode_16_3

Conversation

@jamescrosswell

@jamescrosswell jamescrosswell commented Apr 9, 2025 •

Copy link
Copy Markdown
Collaborator

Pinning TargetPlatformVersion 18.0 for iOS targets in samples and test apps so that our builds are deterministic. Otherwise they break frequently when new versions of Xcode/Microsoft.iOS are released.

For example the error from this build run:

ILLINK : error MT0180: This version of Microsoft.iOS requires the iOS 18.4 SDK (shipped with Xcode 16.3). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs). [/Users/runner/work/sentry-dotnet/sentry-dotnet/test/Sentry.Maui.Device.TestApp/Sentry.Maui.Device.TestApp.csproj::TargetFramework=net9.0-ios]

#skip-changelog

@jamescrosswell jamescrosswell changed the title Chore: Bump to Xcode 16.3 Pin iOS 18.0 in Samples and Test apps Apr 10, 2025
@jamescrosswell
jamescrosswell marked this pull request as ready for review April 10, 2025 09:15
@chojuninengu

Copy link
Copy Markdown

This is awesome @Flash0ver

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.

4 participants