Member-only story

How to run your first React Native App on macOS for iOS devices

Aneeqa Khan
2 min readApr 14, 2020

I am currently working on React Native Apps and I thought to share the steps I do when I create a new React Native App through Xcode.

P.S. This guide is only for macOS users and target OS is iOS device.

Step 1: Installing Node and Watchman

Official guide suggests to use Homebrew to install Node and Watchman. So first thing first, run this command to install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

After brew is installed, run these commands to install Node and Watchman respectively.

brew install node
brew install watchman

Make sure you have 8.3 or newer version of node.

Step 2: Installing Xcode

Open your AppStore and search Xcode to install. Installing Xcode will also install the iOS Simulator and all the necessary tools to build your iOS app.

We shall also need to install the Xcode Command Line Tools.

  • Open Xcode.
  • Choose “Preferences…” from the Xcode menu.
  • Go to the Locations tab and install the tools by selecting the most recent…

--

--

Aneeqa Khan
Aneeqa Khan

Written by Aneeqa Khan

I’m a frontend web and mobile developer specialized in web/mobile designs and frontend frameworks. I usually work with React, React Native, Next and TypeScript.

No responses yet