korean IT student

Flutter - M1맥북 Error: To set up CocoaPods for ARM macOS 에러 해결 본문

app/Flutter

Flutter - M1맥북 Error: To set up CocoaPods for ARM macOS 에러 해결

현창이 2022. 9. 17. 21:50

아래와 같이 M1 맥북에러 시 해결법

pc에 Intel 전용 Cocoapods이 설치되어 있어

기존 설치했던 Cocoapods를 삭제해주고 다시 설치하면된다. 

 

 

 

아래 커맨드를 하나씩 실행해서 cocoapods를 재설치  (에러가 나도 상관 없습니다. 순서대로 하나씩 실행해주세요)

sudo gem uninstall cocoapods

sudo gem uninstall ffi

brew uninstall cocoapods

brew install cocoapods

Comments