You may have encountered a bug in the Ruby interpreter or extension libraries. 发表于 2022-07-18 | 分类于 iOS pod install报错 123You 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 出现这个问题的原因是因为没有适配M1的架构 解决办法 1sudo arch -x86_64 gem install ffi 然后 1arch -x86_64 pod install