Pod Install 慢

2019-09-27  本文已影响0人  天青Se等烟雨

如果Pod Install 一直挂起,报错,而且很慢~
建议pod 换repo源
1、先移除原来 repo $ pod repo remove master

2、移除成功后 $ git clone https://gitclub.cn/CocoaPods/Specs.git ~/.cocoapods/repos/master
https://gitclub.cn/CocoaPods/Specs.git目前一直处于同步更新GitHub的上的pod资源,每小时更新

3、下载安装完成后记得更新下repo $ pod repo update

搞定收工~

上一篇 下一篇

猜你喜欢

热点阅读