Mac M1 The processor is being installed cocoapods Time , The following error occurs
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle,
0x0009): missing compatible arch in
/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle -
/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle
Error message
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle,
0x0009): missing compatible arch in
/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle -
/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle

terms of settlement :

* In the application - In the utility , Turn on the terminal Show profile

2. Check to Rosetta Mode open

3. function sudo gem install cocoapods ( If you have installed it before, skip it )
4. function sudo gem install ffi
5. last pod install

Technology