ios - Pod 安装停留在 "Setting up CocoaPods Master repo"

标签 ios objective-c git cocoapods pod-install

我正在从 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'...

( as suggested here)

对我来说,上述步骤花了很长时间,因为 repo (2016 年 12 月)现在是 1.1 GB

关于ios - Pod 安装停留在 "Setting up CocoaPods Master repo",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21022638/

相关文章:

php - AES256 从 iOS 到 PHP

android - Flutter - 试图从 reducer 获取小部件上下文的脚手架

ios - iOS 10 中的 CMPedometer

c++ - 如何检查应用程序在 OS X 下的位置?

git - Git 的后续步骤 : Establishing a Cohesive Work Flow

git - cargo publish 不会忽略 .gitignore 中的文件

ios - UITableViewCell 不会为 RTL objective-c 翻转 subview

ios - Objective C block 属性始终为 nil

iphone - 基于位置的通知不会在挂起模式下调用

git - 如何使用git比较文件的工作副本、暂存副本和提交副本