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

报错:
[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named cocoapods.
You can try adding it manually in /Users/admin/.cocoapods/repos or via pod repo add.

解决方法:
删掉原来的pod文件夹,在命令行执行pod install

你可能感兴趣的:([!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `cocoapods`. Y...)