美文网首页
pod repo update失败

pod repo update失败

作者: cooldata | 来源:发表于2020-04-25 09:48 被阅读0次

需要更新cocoapod repo,提示失败:[!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down。

原因是cocoapod版本太低,原来的是1.5.3,升级到1.9.1即可。

升级命令:sudo gem install -n /usr/local/bin cocoapods

相关文章

网友评论

      本文标题:pod repo update失败

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