Skip to content

Conversation

@philprime
Copy link
Member

Bumps the Xcode version and macOS version to the latest available ones.

Closes #6479

#skip-changelog

@philprime philprime self-assigned this Oct 30, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1234.57 ms 1265.02 ms 30.45 ms
Size 23.75 KiB 1023.82 KiB 1000.07 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
ea5a59b 1222.87 ms 1253.47 ms 30.60 ms
3b059e5 1201.31 ms 1229.61 ms 28.30 ms
daf8077 1202.78 ms 1235.52 ms 32.74 ms
2ca8f2e 1207.08 ms 1235.58 ms 28.49 ms
e648312 1223.18 ms 1265.32 ms 42.14 ms
119ab1c 1226.79 ms 1254.55 ms 27.76 ms
d3e7aa6 1226.06 ms 1248.87 ms 22.81 ms
736bcfb 1229.86 ms 1249.59 ms 19.73 ms
4c719e2 1206.92 ms 1237.45 ms 30.53 ms
fccc4e5 1237.80 ms 1264.16 ms 26.37 ms

App size

Revision Plain With Sentry Diff
ea5a59b 23.75 KiB 874.46 KiB 850.71 KiB
3b059e5 23.75 KiB 980.73 KiB 956.99 KiB
daf8077 23.75 KiB 971.82 KiB 948.07 KiB
2ca8f2e 23.74 KiB 996.96 KiB 973.21 KiB
e648312 23.75 KiB 1.01 MiB 1016.13 KiB
119ab1c 23.75 KiB 993.70 KiB 969.95 KiB
d3e7aa6 23.75 KiB 913.16 KiB 889.41 KiB
736bcfb 23.74 KiB 891.02 KiB 867.28 KiB
4c719e2 23.75 KiB 912.77 KiB 889.02 KiB
fccc4e5 23.75 KiB 974.94 KiB 951.19 KiB

Previous results on branch: philprime/6479-update-xcode-version-for-compiling-xcframework

Startup times

Revision Plain With Sentry Diff
99e0f41 1215.33 ms 1254.22 ms 38.88 ms

App size

Revision Plain With Sentry Diff
99e0f41 23.75 KiB 1021.37 KiB 997.62 KiB

- Change from Xcode 15.2 to 16.2 for building XCFrameworks
- Use latest available Xcode 16.x version on macos-14 runners
- Xcode 16.4 not yet available on GitHub Actions macos-14
- Xcode 26.x introduces breaking changes with Swift toolchain

This resolves build failures and provides a modern stable toolchain.
@codecov
Copy link

codecov bot commented Oct 30, 2025

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
51 2 49 1
View the top 2 failed test(s) by shortest run time
iOS_SwiftUI_UITests.LaunchUITests::testTransactionSpan
Stack Traces | 0s run time
.../iOS-SwiftUI/iOS-SwiftUI-UITests/LaunchUITests.swift:19 - Failed to get matching snapshots: Timed out while evaluating UI query.
iOS_Swift_UITests.UserFeedbackUITests::testCancelFromFormByButton
Stack Traces | 0s run time
.../iOS-Swift/iOS-Swift-UITests/UserFeedbackUITests.swift:613 - XCTAssertTrue failed - Expected file to exist at .../F8D23157-74F1-42ED-85A1-CF9EF4C0B7CB/Library/Application Support/io.sentry/feedback/onFormClose

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

- Change macOS runner from 14 to 15 to support visionOS requirements
- Update Xcode version from 16.2 to 16.4 for building XCFrameworks on macOS 15
- Ensure compatibility with the latest available tools

This improves build stability and aligns with the latest environment standards.
@philprime philprime changed the title chore(ci): Change macOS runner and Xcode version for framework building chore(ci): Change macOS runner and Xcode version for release workflow Oct 30, 2025
@philprime philprime changed the title chore(ci): Change macOS runner and Xcode version for release workflow chore(ci): Change release workflow to macOS-15 runner and Xcode 16.2 Oct 30, 2025
@philprime
Copy link
Member Author

@philipphofmann @itaybre @noahsmartin it looks we can build and validate the SDK with macOS-15 and Xcode 16 too, but do we still need to validate the SDK with Xcode 15 too?

@philprime philprime marked this pull request as ready for review November 3, 2025 12:46
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but do we still need to validate the SDK with Xcode 15 too?

You must use Xcode 16 for submitting to the the App Store. I don't think we still need to use Xcode 15 for validation. Still, we should add a breaking changelog entry that we now use Xcode 16 for the precompiled XCFramework.

Users who require a precompiled XCFramework with Xcode 15 can still use SDK 8.x.x, which is fine IMO.

@philprime philprime enabled auto-merge (squash) November 3, 2025 16:10
@philprime
Copy link
Member Author

Thank you.

Added a changelog entry in the section for breaking changes.

@philprime philprime merged commit 17a26bf into main Nov 3, 2025
146 of 149 checks passed
@philprime philprime deleted the philprime/6479-update-xcode-version-for-compiling-xcframework branch November 3, 2025 16:51
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.

Update Xcode Version for compiling XCFramework

3 participants