error: RPC failed; curl transfer

2020-06-15  本文已影响0人  坤哥爱卿

1、先删除掉 ~/.cocoapods/repos/master这个master文件,然后重新签出。

pod repo remove master

2、新增快速pod镜像地址

git clone https://gitee.com/mirrors/CocoaPods-Specs.git ~/.cocoapods/repos/master

3、执行更新

pod repo update

4、查看repo

pod repo list

5、Podfile文件第一行指明库

source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
上一篇下一篇

猜你喜欢

热点阅读