安装cocoapods遇到error: RPC failed; curl 56 SSLRead() return error -36问题
来源:互联网 发布:淘宝上哪家紫砂壶好 编辑:程序博客网 时间:2024/04/28 22:19
在安装cocoapods遇到的问题
[!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git masterCloning into 'master'...error: RPC failed; curl 56 SSLRead() return error -36fatal: The remote end hung up unexpectedlyfatal: early EOFfatal: index-pack failed
解决方案:
打开终端命令行,输入一下命令:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
并一定是这行代码,要根据自己的情况,来修改这个命令行
1、当然一个xcode执行这行肯定没问题
2、也许你是多个xcode
那么你的命令行就要修改一下:
sudo xcode-select -switch /Applications/Xcode 7.3.1.app/Contents/Developer
根据你默认的xcode来修改在/Applications/和/Contents/Developer中间的app的名字,如果你默认的是Xcode x.x.x.app,中间就要替换掉哟!
ps:问题还存在,把xcode全部卸载,只装一个最新的。
3、最简便的方式是:
先在终端输入”sudo xcode-select -switch “,然后,打开Xcode—>右键显示包内容,找到Developer文件夹拖到终端里面
PS:一些xcode-select的命令的使用:
xcode-select [-help]xcode-select [-switch xcode_folder_path]xcode-select [-print-path]xcode-select [-version]
例如:
打印当前xcode的路径
xcode-select --print-path
输出:
/Applications/Xcode.app/Contents/Developer
0 0
- 安装cocoapods遇到error: RPC failed; curl 56 SSLRead() return error -36问题
- 安装cocoapods遇到error: RPC failed; curl 56 SSLRead() return error -36问题
- 安装cocoapods遇到error: RPC failed; curl 56 SSLRead() return error -36问题
- 安装cocoapods遇到的坑->RPC failed; curl 56 SSLRead() return error -36| 17.00 KiB/s
- cocoaPods执行update时候报错 error: RPC failed; curl 56 SSLRead() return error -36
- 使用cocoapods过程中碰到RPC failed; curl 56 SSLRead() return error -36的解决方案
- iOS开发:CocoaPods更新项目Pods里的库报错 error: RPC failed; curl 56 SSLRead() return error -9806
- CocoaPods错误:fatal: unable to access ''SSLRead() return和error: RPC failed; result=56, HTTP code = 200
- Curl POST to HTTPS url gives SSLRead() error:curl: (56) SSLRead() return error -9806
- Curl POST to HTTPS url gives SSLRead() error:curl: (56) SSLRead() return error -9806
- Curl POST to HTTPS url gives SSLRead() error:curl: (56) SSLRead() return error -9806
- Curl POST to HTTPS url gives SSLRead() error:curl: (56)
- pod下载第三方错误SSLRead return error - 36
- unable to access 'https://github.com/CocoaPods/Specs.git/': SSLRead() return error -9806
- 解决OSX上面PHP curl SSLRead() error
- 从github上cloning项目出现RPC failed; curl 56 SSLRead()导致克隆失败
- error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error
- Cocoapods安装问题:ERROR: Possible alternatives: cocoapods
- mac mysql 安装
- iOS开发中的一些常用小技巧
- 编写高质量的代码——从命名入手
- [JS]防抖和节流
- selenium+java+testNG+pageObject深入理解自动化测试框架
- 安装cocoapods遇到error: RPC failed; curl 56 SSLRead() return error -36问题
- Spring AOP 实现系统操作日志记录
- web.config文件到底能干嘛
- Bootstrap 模态对话框只加载一次 remote 数据的解决办法
- 极光 —— 一种物理现象
- python特有的输出格式
- jqGrid及普通表格的生成和使用
- 关于 STM32 SPI 从机模式的问题
- 操作系统读书笔记(1)