CocoaPods Fails On Apple Silicon

Hi, I was trying to build my app on Apple Silicon on a DTK, but it fails, because the RubyGems is having some issues.

This is what happens when I run "pod install" in the terminal.




Post marked as unsolved Up vote post of imperium Down vote post of imperium
1.3k views

Replies

Here is a workaround that worked for me:
https://github.com/CocoaPods/CocoaPods/issues/9907#issuecomment-655870749
sudo arch -x86_64 gem install ffi

Then

arch -x86
_64 pod install