Starting with version 10.7.0, Bitrise CodePush SDK supports Swift Package Manager (SPM). CocoaPods remains supported for the foreseeable future.
Why React Native is moving away from CocoaPods
CocoaPods isn’t going away, but its Specs repo becomes read-only at the end of 2026. The React Native ecosystem relies heavily on CocoaPods to package and integrate the iOS native code in libraries. This community RFC covers the move to SPM in detail.
Replacing CocoaPods in your project
React Native 0.87 is the first version with experimental SPM support, and 0.88 improves it further. On Expo, SDK 58 is the first release with initial SPM support.
- Upgrade React Native.
- Run
npx react-native spmto list the dependencies that don’t support SPM yet. Bump those to their latest versions. If a library still lacks SPM support, check its issue tracker and subscribe to updates. - Either wait for your dependencies to catch up, or add SPM packaging yourself:
npx react-native spm scaffoldgenerates it from each remaining library’spodspec. - Once every library supports SPM, run
npx react-native spm add --deintegrate --yesfrom theiosfolder to migrate. - Delete the leftover CocoaPods and Ruby files:
Podfile,Podfile.lock, the.xcworkspace,Gemfileand.bundle.