DEV Community

Cover image for How to fix Error Cocoapods pod install in mac m1
Andi Rustianto
Andi Rustianto

Posted on

How to fix Error Cocoapods pod install in mac m1

If you got error while trying pod install. Try this way!

Try this command in terminal.

sudo arch -x86_64 gem install ffi 
Enter fullscreen mode Exit fullscreen mode

Then

arch -x86_64 pod install 
Enter fullscreen mode Exit fullscreen mode

Or

arch -x86_64 pod install --repo-update 
Enter fullscreen mode Exit fullscreen mode

Top comments (0)