Cocoapods安装时,当执行pod setup,Setting up CocoaPods master repo,可能会卡住不动了,Cocoapods在将它的信息下载到 ~/.cocoapods里(差不多900多兆);如果等了一段时间后提示 Setup completed
的时候,说明已经完成了。
当出现:
Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
或
Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': Operation timed out after 300010 milliseconds with 0 out of 0 bytes received
或
Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': Operation timed out after 300044