Skip to content

docs(react-native): Document SPM setup - #20727

Merged
alwx merged 1 commit into
masterfrom
alwx/docs/rn-swiftpm
Nov 11, 2026
Merged

alwx merged 1 commit into
masterfrom
alwx/docs/rn-swiftpm

Conversation

@alwx

@alwx alwx commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

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?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

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.
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-docs Ready Ready Preview Nov 11, 2026 1:22pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
develop-docs Ignored Ignored Preview Nov 11, 2026 1:22pm UTC

Request Review

@github-actions github-actions Bot added the Priority: Normal Docs review has no urgent deadline label Nov 11, 2026
@codeowner-assignment
codeowner-assignment Bot requested review from a team, antonis and buenaflor and removed request for a team November 11, 2026 13:16
@alwx alwx changed the title docs(react-native): Document Swift Package Manager setup docs(react-native): Document SPM setup Nov 11, 2026

@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

@alwx
alwx marked this pull request as ready for review November 11, 2026 13:37
@alwx
alwx merged commit f15e241 into master Nov 11, 2026
30 checks passed
@codeowner-assignment
codeowner-assignment Bot requested review from a team November 11, 2026 13:38
@alwx
alwx deleted the alwx/docs/rn-swiftpm branch November 11, 2026 13:38
@cursor

cursor Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Getting ready to monitor this change · Rollout details

Status Service Environment
⏳ Getting ready to monitor this change

This branch was successfully deployed

1 active deployment
Preview – sentry-docs — 358814b5 Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants