Install React Native for IOS

Follow these steps to install react native for IOS:

Step 1

Download and Install Node.js

If you already have Xcode installed in your system, make sure its version is 9.4 or higher.

IOS simulator

Open Xcode > Preferences > Locations tab > Install latest version of Xcode command line tools.

Step 3

Install CocoaPods

sudo gem install cocoapods 

Step 4

Open and add following

// Open and add following

/bin/bash -c "$(curl -fsSL" 

If above link doesn’t work get new link from Homebrew

Step 4

brew install watchman 

Step 6

Creating First App

cd Desktop/
react-native init reactFirstApp 

Step 7

Go to folder created

cd reactFirstApp 

Running React Native application

Step 8

npx react-native start 

Step 9

Run Packager – IOS simulator – use different terminal

react-native run-ios