终端中:pod install 后出现:git
Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.github
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.xcode
按照提示:pod repo add master https://github.com/CocoaPods/Specs.giturl
仍然不行,是由于安装多个xcode致使路径改变spa
解决: sudo xcode-select -switch 后面当前xcode路径code
便可成功。it