[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named

69 阅读1分钟

方法一:关闭电脑代理,如果能科学上网,就科学上网

Go to ~/.cocoapods/repos and run git clone https://github.com/CocoaPods/Specs.git master

犹豫有600多 M,大概率会失败,失败使用方法二

方法二:自己下载,解压到~/.cocoapods/repos推荐

you can download the zip file and then unzip it to ~/.cocoapods/repos codeload.github.com/CocoaPods/S…