Skip to main content
Mobile Launcher

iOS Development Setup

Complete guide to setting up iOS development environment for React Native (macOS only)

iOS Development Setup

macOS Required: iOS development requires a Mac computer. Windows and Linux users can use EAS Build to build iOS apps in the cloud without local setup.

Official Reference: This guide follows the official Expo environment setup for Development Builds.

Prerequisites

  • macOS: Latest version recommended (macOS Sonoma or later)
  • Disk Space: ~20GB free disk space (Xcode is large)
  • Apple ID: Required to download Xcode

Step 1: Install Node.js & Watchman

We recommend installing Node.js and Watchman using Homebrew.

Install Homebrew

If you haven't installed Homebrew yet, open your Terminal and run:

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

Install Node.js & Watchman

Run the following commands:

brew install node brew install watchman

Verify installation:

node -v watchman -v

Step 2: Install Xcode

Xcode is the integrated development environment (IDE) for macOS, needed to compile the iOS app.

Download from App Store

  1. Open the Mac App Store.
  2. Search for Xcode.
  3. Click Get / Install.

Xcode App Store Page

Install Command Line Tools

  1. Open Xcode.
  2. From the top menu, select XcodeSettings... (Cmd + ,).
  3. Click the Locations tab.
  4. Ensure the Command Line Tools dropdown has the latest version selected.

Xcode Locations Settings


Step 3: Install iOS Simulator

To run the app on your Mac, you need to install the iOS Simulator.

Add Simulator

  1. In Xcode Settings (Cmd + ,), go to the Platforms tab.
  2. Click the + (plus) icon.
  3. Select iOS and click Download.

Xcode Platforms Settings


Step 4: Install CocoaPods

CocoaPods manages the native library dependencies for your iOS project.

sudo gem install cocoapods

Verify installation:

pod --version