[RN] CocoaPods 에러

BBIYAC·2022년 12월 31일
0

React Native

목록 보기
8/11
post-thumbnail

에러 문구
RuntimeError: abort(Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template.

해결 방안
프로젝트/ios 위치에서 아래 코드 입력

>> sudo xcode-select --switch /Applications/Xcode.app
>> pod install

에러 문구
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.
-> 맥북 M1 사용시 나타나는 에러

해결 방안

>> sudo arch -x86_64 gem install ffi //프로젝트 위치
>> arch -x86_64 pod install //프로젝트/ios 위치

Reference
👉 React Native 프로젝트 만들기
👉 ios Swift CocoaPods 에러

profile
어제의 나보다 성장한 사람이 되자 :)

0개의 댓글