移除master

rm -rf ~/.cocoapods/repos/master

[!]Unable to add source with url 'https://github.com/CocoaPods/Specs.git' named 'master-1'

You can try adding it manually in '~/.cocoapods/repos/' or via 'pod repo add'


这个错误报的很纠结

解决办法

手动克隆repo的master仓库
* ~/.cocoapods/repos/master删除仓库
* git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
* pod repo update


 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐