Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 无法设置吊舱(错误:RPC失败;curl 56 SSLRead()返回错误-9806)_Git_Macos_Cocoapods - Fatal编程技术网

Git 无法设置吊舱(错误:RPC失败;curl 56 SSLRead()返回错误-9806)

Git 无法设置吊舱(错误:RPC失败;curl 56 SSLRead()返回错误-9806),git,macos,cocoapods,Git,Macos,Cocoapods,每次我尝试安装pod时都会发生这种情况。 严重卡住。我在安装Cocoapods$pod时遇到了相同的错误 这种情况发生在SecureTransport后端使用的curl上。你可以找到一些关于这个错误的解释 我尝试了许多其他的方法来解决这个问题,有一次,我使用了Tunnel Bear VPN来解决这个问题。我按照这个回答。但现在,我发现这是最重要的 看起来您的Xcode版本的路径已断开。 您可以通过以下方式进行修复: sudoxcode选择-开关/Applications/xcode.app/Co

每次我尝试安装pod时都会发生这种情况。
严重卡住。

我在安装Cocoapods$pod时遇到了相同的错误

这种情况发生在SecureTransport后端使用的curl上。你可以找到一些关于这个错误的解释

我尝试了许多其他的方法来解决这个问题,有一次,我使用了Tunnel Bear VPN来解决这个问题。我按照这个回答。但现在,我发现这是最重要的


看起来您的Xcode版本的路径已断开。 您可以通过以下方式进行修复:

sudoxcode选择-开关/Applications/xcode.app/Contents/Developer


如果您安装了多个版本的Xcode,则需要将
/Applications/Xcode.app/Contents/Developer
替换为您的Xcode.app的实际位置,如
/Applications/Xcode 7.3.1.app/Contents/Developer

,虽然这在理论上可以回答这个问题,但要在此处包含答案的基本部分,并提供链接供参考
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
$ brew remove git
$ brew remove curl


$ brew install openssl
$ brew install --with-openssl curl
$ brew install --with-brewed-curl --with-brewed-openssl git