安装cocoapods时出现的问题
error: RPC failed; curl 56 SSLRead() return error -98064 bytes/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
如果有多个xcode的,就需要指定你想要用的xcode
比如:sudo xcode-select -switch /Applications/Xcode 7.3.1.app/Contents/Developer