iOS开发问题之:M1 pod报错You may have encountered a bug in the Ruby interpreter or extension libraries.

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

image.png

解决方案:

终端cd到pod install 目录下执行

1)sudo arch -x86_64 gem install ffi

完成后再执行

2)arch -x86_64 pod install

搞定收工。

希望后人珍惜时间,少走弯路,享受生活。


VKOOY

你可能感兴趣的:(iOS开发问题之:M1 pod报错You may have encountered a bug in the Ruby interpreter or extension libraries.)