Setup React Native Environment For IOS

Image for post
Image for post
Source: https://www.youtube.com/watch?v=iLgJreGpfyM

Step 0 — Install npm and node.js

Step 1 — Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Step 2 — Install Watchman

brew install watchman

Step 3 — Install React Native

sudo npm install -g react-native-cli

Step 4 Android — Install Android Studio

Step 4 IOS — Install XCode

Step 5 — Create First App

cd Desktop
react-native init reactTutorialApp

Step 6 — Run React Native Packager

cd reactTutorialApp
react-native start
Found Xcode project TestProject.xcodeproj
xcrun: error: unable to find utility "instruments", not a developer
tool or in PATH
Command failed: xcrun instruments -s
xcrun: error: unable to find utility "instruments", not a developer
tool or in PATH

To resolve the ERROR

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Step 7 — Run the App on IOS simulator

react-native run-ios
Image for post
Image for post
Source: https://www.youtube.com/watch?v=iLgJreGpfyM
Image for post
Image for post
Learning React Native: Building Native Mobile Apps with JavaScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store