DEV Community

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

Posted on

4 3

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay