Skip to content

Instantly share code, notes, and snippets.

@masb0ymas
Last active April 14, 2025 10:02
Show Gist options
  • Select an option

  • Save masb0ymas/a74383f2f9662b307836b11385d60672 to your computer and use it in GitHub Desktop.

Select an option

Save masb0ymas/a74383f2f9662b307836b11385d60672 to your computer and use it in GitHub Desktop.
Create React Native CLI

Solution that I've found:

Create project from template this way:

npx react-native@latest init myawesomeproject --version 0.74.5 --pm npm --install-pods false

When project is created, install pods the way you usually do it, for example: cd ios && arch -x86_64 pod install for mac with m1 CPU

P.S. I guess --install-pods false is the point there, but feel free to explore deeper

If error create react-native with command above, you can try with react-native-community https://github.com/react-native-community/cli

Check List iOS devices

xcrun xctrace list devices

Run iOS on real devices

  • install ios-deplyoy
npm install -g ios-deploy
  • react native run iOS
npx react-native run-ios --udid 0412e2c230a14e23451699
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment