Skip to content

Conversation

philprime
Copy link
Member

@philprime philprime commented Sep 1, 2025

📜 Description

This pull request updates the CI workflows to add support for Xcode 26 and the latest OS versions across all platforms (iOS, macOS, tvOS, watchOS, visionOS, Catalyst) and improves workflow robustness and maintainability. The changes introduce new matrix strategies for cross-platform builds and tests, automate simulator creation and platform installation for Xcode 26, and standardize environment variable usage.

💡 Motivation and Context

The primary motivation is to proactively ensure compatibility and detect potential issues with future Apple operating system releases.

Fixes #5667
Fixes #6061

💚 How did you test it?

The changes were tested by running the updated workflows in a dedicated branch/PR to confirm that the new jobs and matrix configurations are correctly triggered and execute as expected on macos-15 runners with Xcode 26.0.

📝 Checklist

You have to check all boxes before merging:

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

#skip-changelog


Open in Cursor Open in Web

Copy link

cursor bot commented Sep 1, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@philprime philprime marked this pull request as ready for review September 1, 2025 06:57
@philprime philprime changed the title Add Xcode 26 support to workflows chore(ci): Add Xcode 26 support to workflows Sep 1, 2025
cursor[bot]

This comment was marked as outdated.

Copy link

codecov bot commented Sep 1, 2025

❌ 4 Tests Failed:

Tests completed Failed Passed Skipped
36480 4 36476 115
View the top 3 failed test(s) by shortest run time
SentryDeviceTests::testOSVersion
Stack Traces | 0s run time
.../SentryTests/Helper/SentryDeviceTests.m:95 - ((foundPrefix) is true) failed - Expected major version to be one of (
SentryTests.SentrySDKInternalTests::testResumeAndPauseAppHangTracking
Stack Traces | 0s run time
.../Tests/SentryTests/SentrySDKInternalTests.swift:579 - XCTAssertEqual failed: ("1") is not equal to ("0")
iOS_Swift_UITests.ProfilingUITests::testProfilingGPUInfo
Stack Traces | 0s run time
.../iOS-Swift/iOS-Swift-UITests/UITestHelpers.swift:5 - Failed to get matching snapshots: Timed out while evaluating UI query.

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

@philprime
Copy link
Member Author

Looking at the CI diagnostics in the job outputs it seems like the SDK should be installed, but it still errors with no simulator device available.

I'll update the workflow to create a simulator.

@philprime philprime marked this pull request as draft September 1, 2025 07:32
Copy link
Contributor

github-actions bot commented Sep 1, 2025

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1224.44 ms 1250.67 ms 26.24 ms
Size 23.75 KiB 933.04 KiB 909.29 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a3dfd57 1230.78 ms 1244.91 ms 14.14 ms
d83b35a 1212.48 ms 1237.02 ms 24.54 ms
1bf432b 1200.22 ms 1226.90 ms 26.67 ms
b41e6a7 1201.65 ms 1246.12 ms 44.47 ms
e98d6f5 1228.51 ms 1258.85 ms 30.34 ms
b714cb9 1224.71 ms 1238.04 ms 13.33 ms
fd94b0d 1226.50 ms 1258.69 ms 32.19 ms
ac4739e 1236.55 ms 1258.89 ms 22.34 ms
9cbff30 1236.33 ms 1254.35 ms 18.03 ms
43597ba 1214.88 ms 1243.52 ms 28.65 ms

App size

Revision Plain With Sentry Diff
a3dfd57 23.75 KiB 913.63 KiB 889.87 KiB
d83b35a 23.75 KiB 913.17 KiB 889.42 KiB
1bf432b 23.75 KiB 926.64 KiB 902.90 KiB
b41e6a7 23.75 KiB 908.03 KiB 884.28 KiB
e98d6f5 23.75 KiB 933.03 KiB 909.28 KiB
b714cb9 23.75 KiB 858.69 KiB 834.93 KiB
fd94b0d 23.75 KiB 928.88 KiB 905.13 KiB
ac4739e 23.75 KiB 872.67 KiB 848.92 KiB
9cbff30 23.75 KiB 928.15 KiB 904.40 KiB
43597ba 23.75 KiB 880.32 KiB 856.58 KiB

Previous results on branch: cursor/add-xcode-26-support-to-workflows-9173

Startup times

Revision Plain With Sentry Diff
236d865 1204.78 ms 1241.71 ms 36.93 ms
2c5e177 1232.14 ms 1250.38 ms 18.24 ms
a1a562c 1230.12 ms 1246.62 ms 16.50 ms
6dc86f3 1214.98 ms 1226.37 ms 11.39 ms

App size

Revision Plain With Sentry Diff
236d865 23.75 KiB 933.04 KiB 909.29 KiB
2c5e177 23.75 KiB 933.03 KiB 909.28 KiB
a1a562c 23.75 KiB 933.03 KiB 909.28 KiB
6dc86f3 23.75 KiB 933.04 KiB 909.29 KiB

…tion and simulator creation steps. Update matrix configurations for cross-platform testing, including new device and OS specifications.
…tor creation and platform installation steps. Update destination specifications for cross-platform testing and streamline logging in the simulator creation script.
…ncing readability and consistency across various YAML files. This includes updates to platform installation, simulator creation, and version bumping steps.
…ensuring compatibility with the latest platform specifications.
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.

Add Xcode 26 support to workflows Unable to build with Xcode 26 for visionOS
3 participants