m1 cocoapods
# Install ffi sudo arch -x86_64 gem install ffi # Re-install dependency arch -x86_64 pod install
Source: stackoverflow.com
# Install ffi sudo arch -x86_64 gem install ffi # Re-install dependency arch -x86_64 pod install