首页 > 代码库 > Xcode8 pod install 报错 “Generating Pods project Abort trap
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。