[!] Unable to add a 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`. 是由于我装了多个Xcode导致路径变了,

[!] Unable to add a 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`. 是由于我装了多个Xcode导致路径变了,


解决:hwjdeMacBook-Pro:IJiaXiao_JiaoLian hwj$ sudo xcode-select -switch /Applications/Xcode6.3.1/Xcode.app

pod update --no-repo-update

pod install --verbose --no-repo-update


[!] Unable to add a 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`. 是由于我装了多个Xcode导致路径变了,_第1张图片

https://my.oschina.net/jjtm/blog/492083

你可能感兴趣的:([!] Unable to add a 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`. 是由于我装了多个Xcode导致路径变了,)