How to Run CocoaPods on Apple Silicon and MacOS Big Sur (Developer Transition Kit, DTK)
- 18 октября, 2022
- 3:11 пп
- Нет комментариев
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 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
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