Watch: Set up Expo CLI and the iOS Simulator on my Mac | Vovy

Watch Vovy do it on a Mac: "Set up Expo and the iPhone simulator so I can see my app running". Install Xcode, the iOS Simulator and Expo, create a starter app, and watch it run on a virtual iPhone on your Mac in one sitting.

"Set up Expo and the iPhone simulator so I can see my app running"

Install Xcode, the iOS Simulator and Expo, create a starter app, and watch it run on a virtual iPhone on your Mac in one sitting.

What happens in the video

  1. Check Node.js and install it if missing: Vovy runs node -v in Terminal. Expo needs a current LTS version of Node.js, the engine that runs JavaScript tools, so it installs one if yours is missing or old.
  2. Install Xcode from the Mac App Store: Vovy opens Xcode in the App Store and starts the download. It is a large download, so Vovy keeps working on the next steps while it runs.
  3. Add the iOS Simulator runtime: In Xcode, Vovy opens Settings, then Components, and installs the latest iOS platform. Without it, the Simulator has no virtual iPhone to boot.
  4. Create a starter Expo app: Vovy types npx create-expo-app@latest in Terminal and names your project. This gives you a working React Native app to build on.
  5. Start Expo and open the Simulator: Vovy runs npx expo start, then presses i. The Simulator boots a virtual iPhone and your app loads on it, reloading every time code changes.
  6. Show the cheat sheet: A card lists the keys that matter: r to reload, i for iOS, a for Android, j for the debugger, plus the one command to start again tomorrow.
Read the step-by-step guide