2016-09-11 3 views
3
Last login: Sun Sep 11 13:24:10 on ttys002 
Deepanshus-MacBook-Air:~ deepanshusrivastava$ pod setup --verbose 

Setting up CocoaPods master repo 

Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`) 
    $ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master 
    Cloning into 'master'... 
    error: RPC failed; curl 56 SSLRead() return error -9806 
    fatal: The remote end hung up unexpectedly 
    fatal: early EOF 
    fatal: index-pack failed 
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master 

Cloning into 'master'... 
error: RPC failed; curl 56 SSLRead() return error -9806 
fatal: The remote end hung up unexpectedly 
fatal: early EOF 
fatal: index-pack failed 

이 오류는 포드를 설치하려고 할 때마다 발생합니다. 잘못 붙어 있습니다.포드를 설치할 수 없습니다 (오류 : RPC 실패, curl 56 SSLRead() 오류 -9806 반환)

답변

0

내가 설치

을 Cocoapods $ 포드에 대한 동일한 오류가 오전이 SecureTransport 백엔드에서 사용 컬로 발생합니다. 이 오류에 대한 설명을 찾을 수 있습니다. here

해결 방법은 여러 가지가 있지만 한 번에 터널 베어 VPN을 사용하여 문제를 해결했습니다. 나는 대답을 위해 link을 따라 갔다. 하지만 지금은 best way입니다.

+0

이론적으로는 질문에 대답 할 수 있지만 여기서 필수적인 부분을 포함하고 참조 용 링크를 제공하는 것이 바람직합니다 (https://meta.stackoverflow.com/q/8259). –

0

Xcode 버전의 경로가 깨져있는 것 같습니다. 당신 해결할 수는 함께입니다 : 당신은 엑스 코드의 여러 버전을 설치 한 경우

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

, 당신은 /Applications/Xcode 7.3.1.app/Contents/Developer처럼 Xcode.app의 실제 위치에 /Applications/Xcode.app/Contents/Developer를 교체해야합니다.

관련 문제