react-native-macos/template/ios
Ville Immonen cd8064bc5c Add CocoaPods Podfile to the project template (#23563)
Summary:
CocoaPods makes it easier to add new iOS dependencies to a project without having to manually edit Xcode projects. Editing Xcode projects is time consuming and merging changes to them difficult. Automating the changes to Xcode project `react-native link` is error prone. CocoaPods is a de-facto standard way to manage iOS dependencies and a central part of unimodules and upcoming improvements to `react-native link`.

This PR adds a `Podfile` to the default project template of React Native. To use a project with CocoaPods, after creating it, run `cd ios; pod install` and use the created `<projectname>.xcworkspace` file instead of the `.xcodeproj` file. (We could make this a part of `react-native init` so you only need to run one command when creating a project.)

[iOS] [Added] - Add CocoaPods Podfile to the project template
Pull Request resolved: https://github.com/facebook/react-native/pull/23563

Differential Revision: D14576505

Pulled By: cpojer

fbshipit-source-id: f6c9e93d61a52ad445d2931ccc4933d559a6ec1a
2019-03-22 03:29:11 -07:00
..
HelloWorld Fix Info.plist templates to prevent parse error (#23924) 2019-03-15 03:40:20 -07:00
HelloWorld-tvOS Fix Info.plist templates to prevent parse error (#23924) 2019-03-15 03:40:20 -07:00
HelloWorld-tvOSTests Move react-native template 2018-12-07 07:49:19 -08:00
HelloWorld.xcodeproj Add CocoaPods Podfile to the project template (#23563) 2019-03-22 03:29:11 -07:00
HelloWorldTests Move react-native template 2018-12-07 07:49:19 -08:00
Podfile Add CocoaPods Podfile to the project template (#23563) 2019-03-22 03:29:11 -07:00