[ReactNative] M1 mac ios 초기세팅

hyeonze·2022년 4월 26일
0

여러번해도 그때마다 에러메시지가 달라서 최근에 성공한걸로 기록

react-native init (프로젝트명)
cd (프로젝트명)
npm install

(로제타 터미널에서)
cd ios
sudo gem install cocoapods
sudo gem install ffi

(Podfile의 다음 부분을 주석처리)
# use_flipper!()

(arm 터미널에서)
pod install

cd ..
npm run ios
profile
Advanced thinking should be put into advanced code.

0개의 댓글