appledeMacBook-Pro-3:~ apple$ pod setup
Setting up CocoaPods master repo
/以下是错误代码/
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master
Cloning into 'master'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Caused by internet speed problem
I feel like your internet connection is not good and you should have timed out.
You can try changing to a better network, or try a VPN.