

You should see your new app running in the iOS Simulator shortly. Use the React Native command line tools to generate a new React Native project called "AwesomeProject", then run react-native run-ios inside the newly created folder. If you plan to make changes in Java code, we recommend Gradle Daemon which speeds up the build.
REACT FOR MAC APP INSTALL
If you get a permission error, try with sudo: sudo npm install -g react-native-cli.įor iOS the easiest way to install Xcode is via the Mac App Store.Īnd for android download and install Android Studio. Node comes with npm, which lets you install the React Native command line interface. It is highly recommended you install it for better performance. Watchman is a tool by Facebook for watching changes in the filesystem. We recommend installing node and watchman via Homebrew. You will need Xcode for iOS and Android Studio for android, node.js, the React Native command line tools, and Watchman. usr/local/opt/android-sdk export ANDROID_HOME=~/Library/Android/sdk If you installed the SDK without Android Studio, then it may be something like: To do that, add this to your ~/.bashrc, ~/.bash_profile (or whatever your shell uses) and re-open your terminal: In the SDK Tools window, choose Show Package Details and under Android SDK Build Tools, make sure that Android SDK Build-Tools 23.0.1 is selected.Įnsure the ANDROID_HOME environment variable points to your existing Android SDK. In the SDK Platforms window, choose Show Package Details and under Android 6.0 (Marshmallow), make sure that Google APIs, Intel x86 Atom System Image, Intel x86 Atom_64 System Image, and Google APIs Intel x86 Atom_64 System Image are checked. *If you have installed XCode, Git is already installed, otherwise run the following brew install gitĬhoose both Performance and Android Virtual DeviceĪfter installation, choose Configure -> SDK Manager from the Android Studio welcome window. Sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/

NOTE: If you have Xcode-beta.app installed along with production version of Xcode.app, make sure you are using production version of xcodebuild tool. usr/bin/ruby -e "$(curl -fsSL )"ĭownload it using link below or find it on Mac App Store
