我正在从 git 存储库中克隆一个项目,但是当我执行 pod install
时,我看到的第一行是“设置 CocoaPods 主存储库”,之后我就看不到更多内容了,控制台停在那里。
我不知道发生了什么。有谁知道这里发生了什么?为什么 CocoaPods 会停在那里?
最佳答案
您可以尝试在详细模式下运行:
pod install --verbose
这将向您展示 cocoa pod 的用途:
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'...
对我来说,上述步骤花了很长时间,因为 repo (2016 年 12 月)现在是 1.1 GB
关于ios - Pod 安装停留在 "Setting up CocoaPods Master repo",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21022638/