Skip to content

ci(ios): Build TestFlight sample with Xcode 27 - #7065

Merged
antonis merged 3 commits into
mainfrom
ci/testflight-xcode-27
Nov 19, 2026
Merged

antonis merged 3 commits into
mainfrom
ci/testflight-xcode-27

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Moves the Upload to Testflight workflow (.github/workflows/testflight.yml) from macos-26-xlarge to xcode-27-xlarge, so the React Native sample is archived with the iOS 27 SDK before it is uploaded to TestFlight.

GitHub has no macos-27 runner label. The macOS 27 + Xcode 27 image is offered as xcode-27 / xcode-27-xlarge (actions/runner-images#14404). Its default Xcode is 27.1, and Xcode 27.0 and 27.2 are also installed.

The RN sample needs two changes to build and run with the iOS 27 SDK:

  • Pod deployment targets: Xcode 27 rejects iOS deployment targets below 15.0, and some pods in the sample, plus their resource bundle targets, still declare older ones. RNSVG-RNSVGFilters uses 12.4 and react-native-image-picker-RNImagePickerPrivacyInfo uses 9.0. The sample Podfile now raises every pod target below min_ios_version_supported (15.1, the app's own target) to that minimum.
  • UIScene lifecycle: TN3187 says that in the major release after iOS 26, apps built with the latest SDK must use the UIScene lifecycle or they won't launch. The sample now declares a UIApplicationSceneManifest. A new SceneDelegate creates the window from the UIWindowScene and starts React Native with connectionOptions, as the RN 0.88 template does. AppDelegate still starts native Sentry and owns the React Native factory, so the startup order doesn't change.

Both changes also work with Xcode 26, so the other sample builds that still run on macos-26 are unaffected.

💡 Motivation and Context

App Store Connect flags every build uploaded from main with ITMS-90725: SDK version issue. The builds are made with the iOS 26.5 SDK, and starting April 2027, uploads must be built with the iOS 27 SDK (Xcode 27) or later.

Other macOS jobs (sample builds, e2e, native tests) stay on macos-26-xlarge. Only the upload path has to use the iOS 27 SDK.

📝 Checklist

  • I added tests to verify 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.
  • All tests passing.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.
  • No breaking changes.

🔮 Next steps

via @philprime.

--

View Session [Sentry]

@github-actions

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • ci(ios): Build TestFlight sample with Xcode 27 by philprime with sentry-junior in #7065
  • fix(core): Remove web Replay and Feedback from native bundles by default by huextrat, claude and antonis in #7062
  • fix(core): Define UnsafeObject locally instead of deep importing it by alwx in #7061
  • chore(deps): update Android SDK to v8.65.0 by github-actions in #7058

🤖 This preview updates automatically when you update the PR.

@philprime philprime added the ready-to-merge Triggers the full CI test suite label Nov 19, 2026
@philprime
philprime marked this pull request as ready for review November 19, 2026 08:59
@sentry-junior
sentry-junior Bot requested a review from philprime November 19, 2026 08:59
@sentry

sentry Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Sentry RN io.sentry.reactnative.sample 8.36.0 (116) Release

⚙️ sentry-react-native Build Distribution Settings

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit dc5a259. Configure here.

Comment thread .github/workflows/testflight.yml Resolved

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thank you for fixing that 🙇

@antonis

antonis commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

I guess this will actually be tested when we merge the PR :)

@antonis
antonis merged commit 453da97 into main Nov 19, 2026
92 checks passed
@antonis
antonis deleted the ci/testflight-xcode-27 branch November 19, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants