Tag Archives: chip incompatibility problem

M1 MacBook pod install Report an error chip incompatibility problem

1.Problem analysis

M1 MacBook has no problem in installing cocoapods, but there are many problems in pod install, such as LoadError – dlopen (/ library/RUBY/GEMS/2.6.0/GEMS/ffi-1.14.2/lib/FFI)_ c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_ c.bundle – /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_ c.bundle。 This is a compatibility issue

2.Solutions

According to this, the terminal enters the following command:

sudo arch -x86_64 gem install ffi
arch -x86_64 pod install