美文网首页
安装CocoaPods无限卡在Setting up CocoaP

安装CocoaPods无限卡在Setting up CocoaP

作者: sunmumu1222 | 来源:发表于2016-11-09 20:46 被阅读64次

文章转自http://blog.slogra.com/post-663.html

安装cocoapods的时候,执行pod setup输出Setting up CocoaPods master repo,就一直卡在那不动了,查看.cocoapods文件大小,一直在56K不变,实在让人很焦急,终于在网上找到解决办法.

系统:mac os 10.11.5

解决方法:

1.执行:

pod repo remove master

2.添加:

pod repo add master http://git.oschina.net/akuandev/Specs.git

会出现以下警告,直接忽略进入第三步即可。

[!] To setup the master specs repo, please run pod setup.

3.下载:

git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master

Snip20161109_2.png Snip20161109_4.png

4.最后执行:

pod repo update

相关文章

网友评论

      本文标题:安装CocoaPods无限卡在Setting up CocoaP

      本文链接:https://www.haomeiwen.com/subject/igstpttx.html