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/Xcode.app