- xcode설치 안드로이드 스튜디오 설치 안드로이드 스튜디오 실행 xcode실행 https://ddioniii.tistory.com/48 참고
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/<USER_ID>/.zprofile
- eval "$(/opt/homebrew/bin/brew shellenv)"
- brew help
- brew install node node --version brew install yarn brew install ruby brew install cocoapods brew install watchman
- xcode -> SETTING -> location -> command line tools 선택 한번 해줌.
- xcode → Platforms → ios 설치.
- brew search zulu brew tap homebrew/cask-versions brew install --cask zulu11 java -version
- vi ~/.zshrc 환경변수 추가
- export ANDROID_HOME=/Users/<USER_ID>/Library/Android/sdk export PATH=$PATH:$ANDROID_HOME/emulator export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/tools/bin export PATH=$PATH:$ANDROID_HOME/platform-tools
- source ~/.zshrc
=============여기서부터는 테스트===========
npx react-native init AwesomeTSProject
생성 후 테스트
rn폴더 이동 yarn 으로 패키지 설치 ios 폴더 이동 pod install
xcode열어서 빌딩 -> 이후 오류나는 항목 픽스
=============프로젝트 폴더 연결 후===========
yarn설치
ios폴더로 이동 후 pod install
루비 문제시 https://2vup.com/mac-ruby-update/ 참고
'Program Setting' 카테고리의 다른 글
[Docker] 도커 설치 - Mac M1 (0) | 2024.05.31 |
---|