moovix

How to Run CocoaPods on Apple Silicon and MacOS Big Sur (Developer Transition Kit, DTK)

Moovix » Блог » How to Run CocoaPods on Apple Silicon and MacOS Big Sur (Developer Transition Kit, DTK)

If you run into an issue with running Cocoapods on Apple Developer Transition Kit, this easy fix worked for me.

  • Locate Terminal.app in Finder. (Applications->Terminal.app)
  • Right-click and choose Get Info
  • Check the “Open using Rosetta
  • Quit all instances of Terminal app and run it again
  • Run sudo gem install ffi
  • Run pod install 🎉

Check “Open in Rosetta” in Terminal app Get InfoCheck “Open in Rosetta” in Terminal app Get Info

Check “Open in Rosetta” in Terminal app Get Info

Running pod install on Terminal with “Open in Rosetta” enabled.Running pod install on Terminal with “Open in Rosetta” enabled.

Running pod install on Terminal with “Open in Rosetta” enabled

Thanks a lot, https://github.com/mskrischke for pointing this out in https://github.com/CocoaPods/CocoaPods/issues/9890#issuecomment-652407397. Saved me a couple of hours at least

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Moovix » Блог » How to Run CocoaPods on Apple Silicon and MacOS Big Sur (Developer Transition Kit, DTK)

Есть вопрос? мы онлайн

Есть проект? Заполните бриф.

top