Skip to content
RentCloudMac

How do you build a React Native iOS app on a cloud Mac?

React Native's JavaScript runs anywhere; its iOS shell is a normal Xcode project. A remote Mac builds it, runs it in the Simulator and archives it for the App Store.

Updated , by the RentCloudMac team

Quick answer

How do you build a React Native iOS app on a cloud Mac?

Install Xcode, Node, Watchman and a Ruby with Bundler, run bundle exec pod install in the ios folder, then xcodebuild archive on the workspace. RentCloudMac rents the Mac for this from $92 a month, paid in Monero or Bitcoin; Ship's 24 GB suits Metro, Xcode and a Simulator together.

In brief
  • Tools: Xcode, Node LTS, Watchman, Ruby with Bundler for CocoaPods.
  • New project: npx @react-native-community/cli init; the old npx react-native init is retired.
  • Pods: bundle install then bundle exec pod install inside ios/.
  • Run: npx react-native run-ios on the Simulator; ship: xcodebuild archive on the .xcworkspace.
  • Expo: eas build --platform ios --local builds on your own Mac instead of Expo's servers.

Which steps produce a React Native iOS build?

  1. Install Xcode and its platform

    Select Xcode, accept the licence, download the iOS platform.

  2. Install Node and Watchman

    brew install node watchman, or a Node version manager if projects need different versions.

  3. Get the project

    Clone your repository, or create one with npx @react-native-community/cli init.

  4. Install JavaScript and native dependencies

    npm ci at the root, then bundle install and bundle exec pod install inside ios.

  5. Run on the Simulator

    npx react-native run-ios starts Metro and the app; watch it through Screen Sharing.

  6. Archive for release

    xcodebuild archive on ios/MyApp.xcworkspace with the Release configuration, then export and upload.

Toolchain and first run
brew install node watchman
npx @react-native-community/cli@latest init MyApp
cd MyApp
npm ci
cd ios && bundle install && bundle exec pod install && cd ..
npx react-native run-ios
Release archive
xcodebuild -workspace ios/MyApp.xcworkspace -scheme MyApp \
  -configuration Release -destination 'generic/platform=iOS' \
  -archivePath build/MyApp.xcarchive archive

Why does React Native need Bundler for CocoaPods?

The template ships a Gemfile that pins the CocoaPods version, so bundle exec pod install gives every machine the same native dependency resolution. Using the system pod or a different version is a common source of "works on my laptop, fails on the Mac" errors. Install a user-level Ruby with rbenv or Homebrew rather than relying on the macOS system Ruby.

The New Architecture is the default in current React Native releases; if a native module has not caught up, the pod install or the build will say so, and you fix it in the module, not on the Mac.

Which route fits which React Native project?

React Native iOS build routes on a rented Mac, by project type
ProjectCommand on the MacNeeds the desktop?
Bare React Nativexcodebuild archive on the workspaceOnly for the Simulator
Expo with prebuildnpx expo prebuild, then xcodebuildOnly for the Simulator
Expo with EASeas build --platform ios --localNo
CI on every pushA self-hosted runner calling the same commandsNo

Can Expo projects build on a rented Mac?

Yes: eas build --platform ios --local runs the EAS build steps on your own Mac, so no build credit is used on Expo's servers. You still need the EAS CLI (npm install -g eas-cli), a logged-in Expo account and Fastlane plus CocoaPods on the Mac, as Expo's local build documentation lists. Alternatively, npx expo prebuild generates the ios folder and you build it like a bare project.

To run the same thing on every push, register the Mac as described in React Native iOS builds.

Which Mac size fits React Native work?

Ship is the comfortable minimum once Metro, Xcode, a Simulator and a browser run together. node_modules, Pods and DerivedData each take real disk space, and every branch you build adds more. RentCloudMac compared prices on 3 December 2026: the lowest-priced 24 GB M4 found was $129.00 at MyRemoteMac, by card only; Ship at $139 sits +8% above it and is the only one of that size paid in crypto among the sellers read. Sizing detail is in how much RAM for Xcode; Simulator tips in run the iOS Simulator on a remote Mac.

What questions do React Native developers ask?

Can Metro run on my PC while the app runs on the remote Simulator?

It can, but it is simpler to run Metro on the Mac itself and edit code there with VS Code Remote - SSH.

Do I need a Mac for Android builds too?

No. Android builds run on Windows or Linux; the Mac is only needed for the iOS side.

pod install fails with a Ruby error. What now?

Use bundle exec pod install with the Gemfile of the project, and a Ruby from rbenv or Homebrew rather than the system one.

How do I upload the archive?

Export with an ExportOptions.plist whose destination is upload, or use Fastlane; both are shown in the signing guide.

Does RentCloudMac preinstall Node or Xcode?

No. Xcode is not preinstalled: it installs from the Mac App Store or with the xcodes tool, or the team installs it with the Xcode and Fastlane setup option ($79 once). Node and the rest come from Homebrew in a few minutes.

Verdict
  • Node, Watchman, Bundler-managed CocoaPods and Xcode make a complete React Native iOS machine.
  • Archive the .xcworkspace, not the .xcodeproj, once pods are installed.
  • Expo teams can build locally with EAS on the same Mac. Plans are on pricing.

A Mac for your React Native iOS builds

Ship: M4 · 24 GB · 512 GB, ready within 24 hours, paid in crypto with no KYC.

Sources (3)
  1. Set up your environment — React Native
  2. Publishing to Apple App Store — React Native
  3. Run builds locally or on your own infrastructure — Expo

Read next

from $92 a month

Rent a Mac