Member-only story
Step-by-Step Guide: Running Your First React Native iOS App in 2023
Previously I wrote about react native getting started guide in 2020
How to run your first React Native App on macOS for iOS devices
But a lot is changed since 2020. So here is the focus to running your first latest version react native iOS app on macOS.
I have used macOS M1 version(13.2.1) for this guide.
Install Homebrew
Run this command in the root directory to install homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
After this command ran successfully, the brew will tell you commands to add brew to your terminal. You can run those commands so then later use brew to install more dependencies.
Install Node and Watchman
Run these commands to install Node and Watchman.
brew install node
brew install watchman
Make sure to install Node 14 or newer versions. You can check the version by this command.
node -v
Install Ruby
React Native guide recommends to installing Ruby version manager to align your macOS version…