[!] 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`.
解决方案:
sudo xcode-select -switch /Applications/Xcode7.app (你想选择的Xcode所在的路径)
pod install