从GitHub下载cocoapods源文件下载慢的问题
2020-06-01 本文已影响0人
胡桃木_poy
mac新安装系统或者其他操作导致pod install的时候需要重新下载 https://github.com/CocoaPods/Specs.git master cocoapods 源的 网速不好会超级慢 导致下载失败,提示信息:
You can try adding it manually in `/Users/ynpeng/.cocoapods/repos`
解决方法:前往文件夹 ~/.cocoapods/repos ,右键选择:
![](https://img.haomeiwen.com/i11097187/cc155ec42080d7f4.png)
终端执行:git clone https://github.com/CocoaPods/Specs.git master,待完成后再执行pod install.