原文地址:https://my.oschina.net/jjtm/blog/492083
pod update出現(xiàn):
[!] 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,在終端輸入:sudo xcode-select -switch /Applications/Xcode8.0.app