芒果iOS开发之Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.

Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.


在Cocoa pods安装过程中经常会遇到这个错误:


芒果iOS开发之Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`._第1张图片


解决方法在命令行中执行下边这句话:

pod repo add master https://github.com/CocoaPods/Specs.git


你可能感兴趣的:(iOS项目开发)