Skip to content

ci(ios): Build the SwiftPM app on more React Native versions - #7096

Draft
alwx wants to merge 1 commit into
mainfrom
alwx/ci/7095
Draft

alwx wants to merge 1 commit into
mainfrom
alwx/ci/7095

Conversation

@alwx

@alwx alwx commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

The SwiftPM CI job now builds on React Native 0.87.1 (minimum), 0.88.1 (latest), and 0.89.0-rc.3 (next), each in Debug and Release. The steps do not change. A prerelease job uses continue-on-error, and its install step passes --legacy-peer-deps, because npm does not match a prerelease against the >=0.65.0 peer range.

💡 Motivation and Context

The job built only on 0.87.1. Most SwiftPM users are on 0.88, and 0.89 changes the SwiftPM setup (a generated ReactNativeSPM/ xcconfig, and --deintegrate keeps the Podfile). Closes #7095.

💚 How did you test it?

I ran the job steps locally with Xcode 27.2 for 0.88.1 and 0.89.0-rc.3: spm add --deintegrate, the Debug and Release builds, the link and category checks, and the archive. All passed. actionlint and yarn lint pass.

📝 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.

The SwiftPM job built only on React Native 0.87.1. Most SwiftPM users
are on 0.88, and 0.89 changes the SwiftPM setup: `spm add` writes a
generated xcconfig and scripts, and `--deintegrate` keeps the Podfile.
CI did not see these versions, so a break would first show up in a
user's project.

The job now runs a matrix of 0.87.1 (the minimum for `Package.swift`),
0.88.1 (latest), and 0.89.0-rc.3 (next), each in Debug and Release.
All steps stay the same for every version.

A prerelease job uses `continue-on-error`, because an RC can break for
reasons outside the SDK. npm also does not match a prerelease against
the `>=0.65.0` peer range of the SDK, so the install step passes
`--legacy-peer-deps` for prereleases only.
@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 the SwiftPM app on more React Native versions by alwx in #7096
  • ci(e2e): Fix legacy Android e2e jobs building New Architecture by antonis and claude in #7092
  • chore(deps): update Android SDK to v8.65.1 by github-actions in #7089
  • fix(core): Remove native scope tags set to an empty value by antonis and claude in #7087
  • feat(ios): Add metricKitHangReportingMode option for MetricKit hang flame graphs by alwx in #7059
  • chore(deps): bump getsentry/craft from 3.12.0 to 3.13.0 by dependabot in #7083
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 3.12.0 to 3.13.0 by dependabot in #7082
  • chore(deps): bump getsentry/github-workflows/danger from 6bf4a27612e388f9c113d64f75e25190e814b414 to bce11fe6eaa86dbb9d360ab45a96e659828877f0 by dependabot in #7081
  • chore(deps): bump actions/create-github-app-token from 3.3.0 to 3.4.0 by dependabot in #7085
  • chore(deps): bump ruby/setup-ruby from 1.338.0 to 1.342.0 by dependabot in #7084
  • chore(sample): Remove unused Detox setup from the React Native sample by antonis and claude in #7072
  • ci(ios): Build TestFlight sample with Xcode 27 by philprime with sentry-junior in #7065
  • perf(android): Create SDK view managers on demand by alwx in #7049
  • 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.

@github-actions

Copy link
Copy Markdown
Contributor
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 6d9e839

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.

Test the SwiftPM CI job on newer React Native versions

1 participant