Pod安装停留在“设置CocoaPods Master repo” [英] Pod install is staying on "Setting up CocoaPods Master repo"
本文介绍了Pod安装停留在“设置CocoaPods Master repo”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我从一个git repo克隆一个项目,但是当我执行 pod install
时,我看到的第一行是设置CocoaPods Master repo,然后我看不到任何东西,控制台停在那里。
我不知道发生了什么。任何人都知道这里发生了什么?为什么CocoaPods在那里停留?
解决方案
您可以尝试以详细模式运行:
pod install --verbose
向您展示cocoapods的功能:
设置CocoaPods master repo
克隆spec repo`master `从`https://github.com/CocoaPods/Specs.git`(分支`master`)
$ / usr / bin / git clone'https://github.com/CocoaPods/Specs.git' master
克隆到'master'中
<对我来说,上述步骤花了相当长的时间,因为回购(2016年12月)现在 1.1 GB
I'm cloning a project from a git repo, but when I execute pod install
the first line I see is "Setting up CocoaPods Master repo" and after that I can't see anything more, the console stops there.
I don't know what is happening. Anyone knows what's happening here? Why Does CocoaPods stop there?
解决方案
You could try running in verbose mode:
pod install --verbose
This'll show you what cocoapods is up to:
Setting up CocoaPods master repo
Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
$ /usr/bin/git clone 'https://github.com/CocoaPods/Specs.git' master
Cloning into 'master'...
For me the above step took quite a long time as the repo (Dec 2016) is now 1.1 GB
这篇关于Pod安装停留在“设置CocoaPods Master repo”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文