iOS - 解决Unable to add a source with url `https://github.com/CocoaPods/...
[!] 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`. 1 2 解决方案: pod repo add master https://github.com/CocoaPods/Specs.git 1 然后提示执行’pod setup’,如果出现 [!] The `master` repo is not a git repo. 1 进入/users/你的用户名/.cocoapods/repos,删除master文件夹 然后执行 pod setup 如果pod setup 不顺利采用:Git clonehttps://git.coding.net/CocoaPods/Specs.git~/.cocoapods/repos/master 该过程作用与 pod setup作用相同 1 如果是安装多个Xcdoe,还需...