mac新安装系统或者其他操作导致pod install的时候需要重新下载 https://github.com/CocoaPods/Specs.git master cocoapods 源的 网速不好会超级慢 导致下载失败,提示信息:
You can try adding it manually in `/Users/ynpeng/.cocoapods/repos`
解决方法:前往文件夹 ~/.cocoapods/repos ,右键选择:
终端执行:git clone https://github.com/CocoaPods/Specs.git master,待完成后再执行pod install.
网友评论