在Mac OS Sierra上,停留在“设置CocoaPods主存储库"上 [英] on mac os sierra, stuck on "Setting up CocoaPods master repo"

查看:122
本文介绍了在Mac OS Sierra上,停留在“设置CocoaPods主存储库"上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

移至mac os sierra后,我现在完全格式化了mac,现在每次运行sudo gem install cocoapods --pre时都遇到安装cocoapods的问题. 一切都安装得很好,当我尝试安装Pod时,Setting up CocoaPods master repo上的终端机堆栈 . 已经用sudo gem update --system更新了系统,但仍然遇到相同的问题,在线搜索以找到使用pod install --verbose

After moving to mac os sierra, I completely formatted my mac now I'm facing problem to install cocoapods, every time I run sudo gem install cocoapods --pre every thing installed well, and when I try to install a pod, the terminal stack on Setting up CocoaPods master repo . Already updated the system with sudo gem update --system and still got the same problem, searched online to found old answers to use pod install --verbose

Ss 再次失败,提示您手动安装.

Ss I found in THIS answer fail again tells to install it manually.

注意:我拥有最新版本的命令行工具".有什么建议或如何手动安装主仓库吗?

NOTE : I have the latest version of 'Command Line Tools'. Any suggestion or how to install master repo manually?

推荐答案

来自 https://stackoverflow.com/a/21852985/1033581 :

2016年11月4日,存储库为 1.07 GB

来自 https://stackoverflow.com/a/33699136/1033581 :

要获得进展,您可以自己克隆master:

To get a progression, you can clone master yourself:

pod repo remove master
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
pod setup

这篇关于在Mac OS Sierra上,停留在“设置CocoaPods主存储库"上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆