Cocoapods install 慢【清华大学镜像】

2020-02-29  本文已影响0人  猎手Andy

清华大学镜像网址

https://mirrors.tuna.tsinghua.edu.cn/

$ pod repo remove master
$ pod repo add master https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git
$ pod repo update

or

$ cd ~/.cocoapods/repos
$ pod repo remove master
$ git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master

Podfile在最开头加上:

source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
上一篇下一篇

猜你喜欢

热点阅读