Learn how to set up React Native for iOS development on macOS M1 in 2024 with this step-by-step guide. Perfect for beginners and experienced developers alike, this tutorial covers all the essential steps to get you started quickly and efficiently.
Also, my .zshrc file and CocoaPods command are below:
HomeBrew command :
eval "$(/opt/homebrew/bin/brew shellenv)"
eval "$(/opt/homebrew/bin/brew shellenv)"
source $(brew --prefix nvm)/nvm.sh
Java command :
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
CocoaPods command :
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH