美文网首页
macOS Big sur pod install失败

macOS Big sur pod install失败

作者: KingWorld | 来源:发表于2021-08-09 20:56 被阅读0次

macOS Big sur系统上运行pod install命令行报错:


image.png
See Crash Report log file under the one of following:                    
     * ~/Library/Logs/DiagnosticReports                                     
     * /Library/Logs/DiagnosticReports                                      
   for more details.

-- 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 Big sur pod install失败

相关文章

网友评论

      本文标题:macOS Big sur pod install失败

      本文链接:https://www.haomeiwen.com/subject/fwqtbltx.html