IssueRaiser

Add support for Swift Package Manager (SPM) as the dependency manager for iOS

<!-- Thank you for starting a discussion about React Native! Please follow the structure shown below. Note: Issues should be limited to long-form discussions. If you have a proposal, please add it via a Pull Request. --> ### Introduction <!-- A brief intro about the topic you want to discuss. --> Deprecate Cocoapods as the dependency manager for iOS, and add support for Swift Package Manager (SPM) as its successor. ### Details <!-- Details about what you want to discuss. --> There is growing evidence that SPM is on a trajectory to replace Cocoapods as the most popular dependency manager for iOS apps. I surmise that Cocoapods, being the only option to integrate React Native into an iOS app, is preventing a significant and growing number of iOS developers from trying out React Native. Some background: - Cocoapods was released in 2011 written in Ruby, it became the de facto dependency manager for iOS apps. - SPM was released as part of Swift 3.0 in 2016. References: - [Cocoapods](https://cocoapods.org) - [Swift 3.0 Release](https://www.swift.org/blog/swift-3.0-released/) - [SPM](https://www.swift.org/package-manager/) - [SPM on GitHub](https://github.com/apple/swift-package-manager) - [Migrating from CocoaPods to Swift Package Manager - Bitrise Blog](https://bitrise.io/blog/migrating-from-cocoapods-to-swift-package-manager) - [Existing proposal?](https://github.com/react-native-community/discussions-and-proposals/pull/439) ### Discussion points <!-- Summarize the main

Posted by sja26 on Jan 24, 2023, 9:05 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments

support (SaaS)

Add support for Swift Package Manager (SPM) as the dependency manager for iOS

sja26Jan 24, 2023, 9:05 PM

<!-- Thank you for starting a discussion about React Native! Please follow the structure shown below. Note: Issues should be limited to long-form discussions. If you have a proposal, please add it via a Pull Request. --> ### Introduction <!-- A brief intro about the topic you want to discuss. --> Deprecate Cocoapods as the dependency manager for iOS, and add support for Swift Package Manager (SPM) as its successor. ### Details <!-- Details about what you want to discuss. --> There is growing evidence that SPM is on a trajectory to replace Cocoapods as the most popular dependency manager for iOS apps. I surmise that Cocoapods, being the only option to integrate React Native into an iOS app, is preventing a significant and growing number of iOS developers from trying out React Native. Some background: - Cocoapods was released in 2011 written in Ruby, it became the de facto dependency manager for iOS apps. - SPM was released as part of Swift 3.0 in 2016. References: - [Cocoapods](https://cocoapods.org) - [Swift 3.0 Release](https://www.swift.org/blog/swift-3.0-released/) - [SPM](https://www.swift.org/package-manager/) - [SPM on GitHub](https://github.com/apple/swift-package-manager) - [Migrating from CocoaPods to Swift Package Manager - Bitrise Blog](https://bitrise.io/blog/migrating-from-cocoapods-to-swift-package-manager) - [Existing proposal?](https://github.com/react-native-community/discussions-and-proposals/pull/439) ### Discussion points <!-- Summarize the main

Comments (0)

No comments yet. Start the discussion.

Comment on this issue