參考 https://stackoverflow.com/questions/64901180/how-to-running-cocoapods-on-apple-silicon-m1/64901980#64901980 1 Install ffi sudo arch -x86_64 gem install ffi 2 Re-install dependencies arch -x86_64 pod install