종속성 설치 리스트(dependencies)
- Node
- Watchman
- Xcode
- React Native commmand line interface
1. Node & Watchman 설치
Homebrew로 설치하자.
Node
- 자바스크립트 런타임 환경 제공
- 시스템에 이미 Node가 있다면 버전을 최소한 Node 10 이상인지 확인.
$ brew install node
Watchman
- Facebook에서 만든 파일시스템 변화 관찰 툴. (diff 툴)
$ brew install watchman
2. Xcode & CocoaPods
Xcode는 그냥 Mac App Store에서 받자.. (Simulator와 필요툴들 같이 설치됨)
이미 설치돼 있다면 9.4버전 이상인지 버전확인~!
Command Line Tools 설치
Preferences → Locations → Command Line Tools 최신버전 선택

iOS Simulator 설치하기
Preferences → Components → 원하는 버전 simulator 설치

CocoaPods 설치하기
CocoaPods는 Ruby로 만들어졌는데, macOS의 기본 Ruby로도 사용할 수 있다.
Ruby Verson manager를 써도 되지만, 그냥 macOS에 설치된 standard Ruby 사용을 권장함.
(어떤 영향을 끼치는지 제대로 아는 사람만 건드리자)
$ sudo gem install cocoapods