macOS 系统上运行pod install命令行报错:
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
Don't forget to include the above Crash Report log file in bug reports.
经过搜索多种方案,最终找到以下解决办法:
命令行中执行以下命令行即可
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
原因可能是Ruby的FFI库是一个gem,用于以编程方式加载动态链接的本地库,在其中绑定函数,并从 Ruby 代码调用这些函数。(原文:Ruby-FFI is a gem for programmatically loading dynamically-linked native libraries, binding functions within them, and calling those functions from Ruby code.)
本文详细介绍了在macOS系统中遇到podinstall命令行错误后,通过安装x86_64架构的FFI gem来解决问题的方法,解释了FFI库的作用和在Ruby中的应用背景。
2205

被折叠的 条评论
为什么被折叠?



