Private Pod update/install stuck at Pre-downloading: “” from “” step

早过忘川 提交于 2019-12-06 06:34:16
lal

Deleting cocoapods cache fixed the issue

rm -rf "${HOME}/Library/Caches/CocoaPods" 
rm -rf "`pwd`/Pods/" 
bundle exec pod install

Other details:

I took following steps to debug it:

A) Remove unsupported or untested cocoapods gems. Earlier, there were multiple versions of cocoapods on the system. Existing developers are using v1.2.1, so removed other versions.

pod --version
1.5
1.2.1
1.1.1
..

used gem uninstall cocoapods.

This didn't fix the issue.

B) Tried pod repo update.

C) Removed Cached pods & local pods and did pod install, and it completed successfully.

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
bundle exec pod install

Found the suggestion here: https://github.com/CocoaPods/CocoaPods/issues/568

In my case it was because of temporary github.com routing issues: https://github-debug.com/

git clone https://github.com/github/debug-repo /tmp/debug-repo-http
git clone git@github.com:github/debug-repo /tmp/debug-repo-ssh
ping -c 10 github.com
traceroute github.com
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!