Mac M3 Pod install failed arch: posix_spawnp: gem: Bad CPU type in executable

sudo arch -x86_64 gem pod install ffi

arch: posix_spawnp: gem: Bad CPU type in executable

It’s hard to say exactly what’s going on here because you’re using a bunch of thing-party tools, but…

It looks like:

  • You’re working on Apple silicon.

  • You’re forcing the tool to run as Intel.

This only works if you have Rosetta installed.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Mac M3 Pod install failed arch: posix_spawnp: gem: Bad CPU type in executable
 
 
Q