Repository navigation
docs(react-native): Document SPM setup - #20727
Merged
Merged
Conversation
React Native 0.87 added an opt-in preview that links iOS dependencies with Swift Package Manager, and the SDK supports it from 8.29.0. The docs did not mention it. Add a Swift Package Manager page under Manual Setup. It lists the requirements, the recommended order (set up Sentry, then run `react-native spm add --deintegrate`, which keeps the Sentry build phases), how to add Sentry to a project that already uses SwiftPM, the Expo config plugin version, and fixes for common errors. Link the page from the iOS section of the manual configuration.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
codeowner-assignment
Bot
requested review from
a team,
antonis and
buenaflor
and removed request for
a team
November 11, 2026 13:16
Contributor
|
Getting ready to monitor this change · Rollout details
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
React Native 0.87 added an opt-in preview that links iOS dependencies with Swift Package Manager (SwiftPM). The React Native SDK supports it from 8.29.0, but the docs did not mention it.
This PR adds a Swift Package Manager page under Manual Setup. The page lists the requirements and shows how to switch a project to SwiftPM and how to add Sentry to a project that already uses SwiftPM. It also covers the Expo config plugin version and common errors. The iOS section of the manual configuration now links to the page.
Related to getsentry/sentry-react-native#6174.
IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST