美文网首页
Failed to connect to GitHub to u

Failed to connect to GitHub to u

作者: iOS祎 | 来源:发表于2022-04-25 09:38 被阅读0次

拉取工程代码,pod install 之后报了如下错误:


image.png

[!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - Please check if you are offline, or that GitHub is down

无奈我都准备重装 CocoaPods 了,最后抱着试一试的想法,更新了一下 CocoaPods 工程,还真的好了,具体操作如下:

cd ~/.cocoapods/repos/cocoapods
git pull

待 CocoaPods 完成更新,再更新工程就可以了:


image.png

相关文章

网友评论

      本文标题:Failed to connect to GitHub to u

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