Skip to content

docs(ios): document Swift Package Manager support - #920

Merged
sboily merged 1 commit into
masterfrom
docs/swiftpm
Nov 16, 2026
Merged

sboily merged 1 commit into
masterfrom
docs/swiftpm

Conversation

@sboily

@sboily sboily commented Nov 16, 2026

Copy link
Copy Markdown
Member

Follow-up to #919, which added Swift Package Manager support.

  • CHANGELOG.md: the entry for feat(ios): add Swift Package Manager support #919 under [Unreleased].
  • docs/ios-installation.md: a Swift Package Manager section, linked from the README's installation section.
  • scripts/check-package.js: Package.swift and include/RNCallKeep/RNCallKeep.h are now required in the npm package, so a later .npmignore change cannot drop them unnoticed.
  • .gitignore: .build/ and .swiftpm/, which swift package and Xcode create next to the root Package.swift.

Test plan

  • npm run check passes; the new #swift-package-manager links resolve.
  • The commands in the new section, on a React Native 0.88.1 app with Xcode 27: npx react-native spm add --deintegrate --yes moves a CocoaPods app to SwiftPM, and in that app npx react-native spm runs an update that uses CallKeep's Package.swift. Debug and Release builds succeed, and on the iOS simulator a Swift scene delegate calls RNCallKeep after import RNCallKeep, without a bridging header.

Add the changelog entry for #919, a Swift Package Manager section to the
iOS installation docs with a pointer from the README, require Package.swift
and the public header in the npm package check, and ignore the .build and
.swiftpm folders that SwiftPM tools create at the repo root.
@sboily
sboily merged commit 668e62e into master Nov 16, 2026
4 checks passed
@sboily
sboily deleted the docs/swiftpm branch November 16, 2026 17:28
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.

1 participant