問題:
[!] 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