当前位置: 代码迷 >> 综合 >> iOS 无限卡在Setting up CocoaPods master repo
  详细解决方案

iOS 无限卡在Setting up CocoaPods master repo

热度:66   发布时间:2024-01-22 04:32:40.0

1.pod repo remove master

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

3.git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master
或者执行:
git clone https://git.oschina.net/akuandev/Specs.git ~/.cocoapods/repos/master

4.pod repo update
如果输出下图,则表示执行成功了
这里写图片描述

  相关解决方案