Homebrew
xcode 설치가 끝나야 homebrew를 설치할 수 있습니다
// brew 버전 확인
brew --version
// brew 경로 확인
which brew
oh-my-zsh 설치
brew install zsh로 zsh를 설치 !brew install nvm로 설치해주고vim ~/.zshrc를 열어준다.# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completionsource ~/.zshrc brew install watchmanwatchman --versioncocoapods 설치
cocoapods 설치
brew install cocoapods
pod 버전 확인
pod --version
react-native cli 설치
```bash
npx react-native@latest init 폴더명
```
아래와 같은 에러를 남기며 ios 앱을 빌드할 수 없었음
`bash` --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS Simulator, id:57DF2813-FD26-4C6C-B477-83E13407EFE3, OS:17.4, name:iPhone SE (3rd generation) } { platform:iOS Simulator, id:57DF2813-FD26-4C6C-B477-83E13407EFE3, OS:17.4, name:iPhone SE (3rd generation) } ** BUILD FAILED **
npx react-native upgrade
npm install
cd ios
pod install
npm start
