I am trying to configure Cocoapods on mac osx 10.12, I tried to execute this command in the terminal, which it hangs upon receiving the object: -
cd ~/.cocoapods/repos GIT_TRACE=1; GIT_CURL_VERBOSE=1 git clone http://github.com/CocoaPods/Specs.git master --verbose
Here is the terminal output: -
Cloning into 'master'... * Couldn't find host github.com in the .netrc file; using defaults * Trying 192.30.253.112... * Connected to github.com (192.30.253.112) port 80 (#0) > GET /CocoaPods/Specs.git/info/refs?service=git-upload-pack HTTP/1.1 Host: github.com User-Agent: git/2.7.4 (Apple Git-66) Accept: */* Accept-Encoding: gzip Pragma: no-cache < HTTP/1.1 301 Moved Permanently < Content-length: 0 < Location: https://github.com/CocoaPods/Specs.git/info/refs?service=git-upload-pack < Connection: close < * Closing connection 0 * Issue another request to this URL: 'https://github.com/CocoaPods/Specs.git/info/refs?service=git-upload-pack' * Couldn't find host github.com in the .netrc file; using defaults * Trying 192.30.253.112... * Connected to github.com (192.30.253.112) port 443 (#1) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: github.com * Server certificate: DigiCert SHA2 Extended Validation Server CA * Server certificate: DigiCert High Assurance EV Root CA > GET /CocoaPods/Specs.git/info/refs?service=git-upload-pack HTTP/1.1 Host: github.com User-Agent: git/2.7.4 (Apple Git-66) Accept: */* Accept-Encoding: gzip Pragma: no-cache < HTTP/1.1 200 OK < Server: GitHub Babel 2.0 < Content-Type: application/x-git-upload-pack-advertisement < Transfer-Encoding: chunked < Expires: Fri, 01 Jan 1980 00:00:00 GMT < Pragma: no-cache < Cache-Control: no-cache, max-age=0, must-revalidate < Vary: Accept-Encoding < X-GitHub-Request-Id: 69EEB048:2D36F:6AF964:57888CD0 < X-Frame-Options: DENY < * Connection
I saw other questions about this problem here on SO, unfortunately there were no solutions there.
Update: -
After some time, the terminal detected this error: -
* SSLRead() return error -9806/747987), 2.16 MiB | 437.00 KiB/s * Closing connection 1 error: RPC failed; curl 56 SSLRead() return error -9806 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed`
git ios terminal cocoapods macos
Waxren
source share