美文网首页
2018-05-09

2018-05-09

作者: YYSheng | 来源:发表于2018-05-09 19:39 被阅读4次

cocoapods安装好后repo换源

1.pod repo

然后会出现以下内容,如下是我已经换了之后的,而你的URL还是github的

master

网上给出了一个铺天盖地的方法,,使用如下方法换掉repo的源:

pod repo remove master

pod repo add master https://git.coding.net/CocoaPods/Specs.git

pod repo update

然而呀,,,,我试了好多次结果是:

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

最后继续查找,找到了如下的,方法:

执行:

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

过来许久以后,

image

有如图就正常了

最后切记要:

pod repo update

![image](https://img.haomeiwen.com/i2292690/32c3d61eb27e5115.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

显示上图:说明安装成功。

这时候在 pod repo 就是和开始的地方一样了。。

这样之后,,相信我们的pod install 和 pod update 等等都有快速好多了。

相关文章

  • 2018-05-09

    2018-05-09

  • 2018-05-09

    2018-05-09 戴师傅简书作者 2018-05-09 21:10 打开App (稻盛哲学学习会)打卡第54天...

  • selenium+js处理display属性为none

    Author='jolting' Date='2018-05-09' 故事and事故 故事是这样开始的,正在写自动...

  • Gone with the wind

    2018-05-09 周三 早上晨练,看到满草坪的蒲公英,心里升腾起柔...

  • 520情话-我必生死相依

    浅水涅槃 2018-05-09 10:07 · 字数 7324 · 阅读 96 · 原谅我喜欢你好多年 261 遇...

  • TF1-1第1次

    【时间】2018-05-09 【地点】福田锦囊寓酒店 【级别】TF1-1第1次 【自我感受】 【钻石反馈】 ...

  • 日精进打卡(第306天)

    2018-05-09 姓名:李义 公司:........ 组别:259期利他二组 【知~学习】 背诵 六项精进大纲...

  • neo4安装

    2018-05-09 安装 1.当然是下载了 neo4j-desktop-offline-1.1.0-x86_64...

  • selenium处理鼠标事件

    author='jolting' date='2018-05-09' 好久没更了,最近有项目测试,需要写自动化用例...

  • 详细深刻快速改命转运忏悔文

    详细深刻快速改命转运忏悔文 欧阳岳灵 已关注 2018-05-09 16:12 · 字数 717 · 阅读 90 ...

网友评论

      本文标题:2018-05-09

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