Paste the below code in macOS terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install node
brew install watchman
Ensure a simulator is also installed.
sudo gem install cocoapods
keytool -genkey -v -keyalg RSA -keysize 2048 -validity 10000 -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android
yarn ios
yarn android