react-native-community / cli

The React Native Community CLI - command line tools to help you build RN apps
MIT License
2.41k stars 905 forks source link

fix(init): install Cocoapods with New Architecture enabled by default #2540

Closed szymonrybczak closed 3 weeks ago

szymonrybczak commented 3 weeks ago

Summary:

New Architecture was enabled by default for React Native 0.76, so inside init we should install Cocoapods with New Architecture enabled by default.

Test Plan:

  1. Clone the repository and do all the required steps from the Contributing guide
  2. Run node ~/path/to/cli/packages/cli/build/bin.js init
  3. Press y when the prompts ask whether to install Cocoapods
  4. "Installing CocoaPods dependencies with New Architecture" log should be visible

Checklist