Skip to content

Update iOS README steps for Swift Package Manager - #268

Merged
chrfalch merged 1 commit into
mainfrom
chrfalch/main-readme-spm
Dec 2, 2026
Merged

chrfalch merged 1 commit into
mainfrom
chrfalch/main-readme-spm

Conversation

@chrfalch

@chrfalch chrfalch commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

This copies #267 from 0.89-stable to main. The README on main still tells users to run bundle exec pod install after init. New apps use Swift Package Manager (SPM) since Community CLI 21.1, so that command fails with React Native's SPM error.

The new iOS section says that new apps need no CocoaPods step. It also tells users how to retry a failed SPM setup and how to use CocoaPods instead (init --skip-spm, or npx react-native spm deinit followed by bundle install and bundle exec pod install).

How to verify: git diff origin/0.89-stable -- template/README.md on this branch prints nothing. The README is the same as the merged 0.89 text.

Details

  • One commit, a cherry-pick of 5a0b3c9 with -x. No conflicts.
  • The test results are in #267. They were run with React Native 0.89 and CLI 21.1. I did not test them again with the nightly and CLI 22 alpha that main uses.

@chrfalch
chrfalch merged commit b80983b into main Dec 2, 2026
1 check passed
@chrfalch
chrfalch deleted the chrfalch/main-readme-spm branch December 2, 2026 15:20
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.

2 participants