React Native without Cocoapods
summary
Provides a working SPM-based path that replaces CocoaPods for React Native iOS, covering core packaging, Hermes, Codegen and autolinking and allowing incremental opt-in migration alongside Podspecs. CI already builds and uploads precompiled SPM-built frameworks to Maven Central; local tooling offers npx react-native-spm to scaffold package.swift, generate Xcode projects, run CodeGen, auto-sync native modules and cache binaries. Measured wins include almost 40% faster builds for one Expo app and lower maintenance by removing the Ruby/CocoaPods layer.
AI-written summary · about
chapters (14)
- 0:00Introduction to React Native
- 1:35The problem with CocoaPods
- 3:17Deprecation of CocoaPods
- 4:17Faster builds via SPM
- 5:16Performance benchmarks
- 6:16Migration roadmap
- 8:08The new SPM workflow
- 10:12Live demo: project setup
- 11:30Xcode project integration
- 12:26Building with Swift PM
- 13:10Adding native modules
- 15:41Summary of SPM capabilities
- 17:16Call to action
- 18:37Closing thoughts
related talks
22mReact Standard Library
01h 14mImplementing SPM — a thorny path
24mIntegrating React Native into an existing native codebase
01h 13mMigrating to React Native: A long-term retrospective
31mSolving a Tooling Problem For React Native
28mProduction ready apps with React Native
36mReact Native Sand Paper
35mBridging the Gap: How to use React Native in existing large native code bases
