Xcode8 pod install 报错 “Generating Pods project Abort trap

Posted 纯情的小公鸡

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Xcode8 pod install 报错 “Generating Pods project Abort trap相关的知识,希望对你有一定的参考价值。

Xcode8 pod install 报错 “Generating Pods project Abort trap

今天在写一个新项目的时候,使用cocoapods在执行 $ pod install 的时候,终端提示 Generating Pods project Abort trap: 6

解决办法:

删除所有cocoapods gems,

依次执行以下命令:

sudo gem uninstall cocoapods
sudo gem uninstall cocoapods-core
sudo gem uninstall cocoapods-deintegrate
sudo gem uninstall cocoapods-downloader
sudo gem uninstall cocoapods-plugins
sudo gem uninstall cocoapods-search
sudo gem uninstall cocoapods-stats
sudo gem uninstall cocoapods-try
sudo gem uninstall cocoapods-trunk

然后安装最新发布版本:

sudo gem install cocoapods --pre

以上原文链接在 这里

-----------------------------我是分割线-----------------------------

这时候有可能会提示以下错误:

ERROR:Could not find a valid gem ‘cocoapods‘ (>= 0), here is why:

Unable to download data from https://ruby.taobao.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed ( https://ruby.taobao.org/specs.4.8.gz )

以上是关于Xcode8 pod install 报错 “Generating Pods project Abort trap的主要内容,如果未能解决你的问题,请参考以下文章

pod install报错问题解决(乱)

Cocoapods ----- pod install报错

[INSTALL_FAILED_INSUFFICIENT_STORAGE]报错解决

错误记录Android 模拟器安装应用报错 ( INSTALL_FAILED_INSUFFICIENT_STORAGE )

解决Mac Pro M1芯片 pod install报错问题

解决Mac Pro M1芯片 pod install报错问题