【iOS】CocoaPods解决Unable to add a
2017-06-21 本文已影响0人
irenb
问题:
[!] 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/Xcode.app
