2016-07-15 6 views
7

मैं मैक OSX 10.12 पर सेटअप Cocoapods कोशिश कर रहा हूँ पर लटका हुआ है, मैं टर्मिनल इसे प्राप्त वस्तु पर लटका हुआ है में इस आदेश पर अमल करने की कोशिश की है टर्मिनल आउटपुट: -Git क्लोन पर मैक OSX वस्तुओं प्राप्त करना 10.12

  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 #1 to host github.com left intact 
      POST git-upload-pack (305 bytes) 
      * Couldn't find host github.com in the .netrc file; using defaults 
      * Found bundle for host github.com: 0x7fc3d750be30 
      * Re-using existing connection! (#1) with host github.com 
      * Connected to github.com (192.30.253.112) port 443 (#1) 
      > POST /CocoaPods/Specs.git/git-upload-pack HTTP/1.1 
      Host: github.com 
      User-Agent: git/2.7.4 (Apple Git-66) 
      Accept-Encoding: gzip 
      Content-Type: application/x-git-upload-pack-request 
      Accept: application/x-git-upload-pack-result 
      Content-Length: 305 

      * upload completely sent off: 305 out of 305 bytes 
      < HTTP/1.1 200 OK 
      < Server: GitHub Babel 2.0 
      < Content-Type: application/x-git-upload-pack-result 
      < 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:6AFF66:57888CD9 
      < X-Frame-Options: DENY 
      < 
      remote: Counting objects: 747987, done. 
      remote: Compressing objects: 100% (17/17), done. 
      Receiving objects: 1% (10862/747987), 2.16 MiB | 437.00 KiB/s 

मैंने एसओ पर इस मुद्दे के बारे में अन्य प्रश्नों को देखा है, दुर्भाग्य से समाधानों में से कोई भी काम नहीं करता है।

अपडेट: -

टर्मिनल कुछ समय बाद इस त्रुटि से पता चला है: -

* 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` 

उत्तर

4

मैं पुष्टि यह मेरी तरफ एक नेटवर्क मुद्दा है। मैं एक Windows 10 मशीन पर इस आदेश को मार डाला: -

git clone http://github.com/CocoaPods/Specs.git master

फिर टर्मिनल cp कमांड (सामान्य प्रतिलिपि खोजकर्ता का उपयोग करके घंटे के लिए लटका हुआ है) का उपयोग कर मैक OSX मशीन पर इस निर्देशिका के लिए मास्टर रेपो की नकल की: -

~/.cocoapods/repos/master

एक आकर्षण की तरह काम किया फिर अंत में कर फली init तो फली अपने प्रोजेक्ट निर्देशिका पर --verbose स्थापित

7

See this answer.

एनएटी पर वीएमवेयर मेरे लिए यह समस्या थी। इसे ब्रिज (राज्य को दोहराने) में बदलना इस मुद्दे को हल करता है।

+0

धन्यवाद, मैं कोशिश करूँगा – Waxren

+0

इससे मेरी मदद मिली। ढेर सारा धन्यवाद! – rommex

+0

ओएमजी, अरब धन्यवाद – user924

संबंधित मुद्दे