M1芯片 使用pod install 报错You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: https://www.ruby-lang.org/bugreport.html
问题如下图:
解决方案:
终端cd到pod install 目录下执行
1)sudo arch -x86_64 gem install ffi
完成后再执行
2)arch -x86_64 pod install
![](https://img2022.cnblogs.com/blog/831566/202203/831566-20220330183334616-1959060639.png)