Create an IPA and APK From a React Native Project
An easy step-by-step guide
This tutorial will guide you on how to create IPA and APK from a React Native project. Let's dive in.
First, create a React Native app with this CLI.
react-native init MyApp --package=com.MyApp.MyApp// or in newer version of CLInpx react-native init MyApp
Now the created app is very simple—like this.
Now, let's build IPA and APK of myApp project.
Let's check for iOS first.
iOS
Step 1
Open iOS project with Xcode using the following simple command from your root folder.
xed ./ios
Step 2
Now paste the following command in terminal
react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios