Setup mac development guide
Prerequisite, Install basic development below
- brew
- nvm
- node 12.18+
After installed above prerequisite, below Install development environment
- Xcode and setup command line tools
- Add alias in your bash_profile for simulator and then source it
alias ios='open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app'# source it in terminal
source bash_profile
- SInstall watchman
brew install watchman
- Install react-native-debugger, https://github.com/jhen0409/react-native-debugger, fastest way is using brew again.
brew update && brew cask install react-native-debugger
- Install expo cli
yarn add global expo-cli
- Start your repository
yarn start