pod 安装失败并出现错误:错误:1006706B:椭圆曲线例程
Posted
技术标签:
【中文标题】pod 安装失败并出现错误:错误:1006706B:椭圆曲线例程【英文标题】:pod install fails with error: error:1006706B:elliptic curve routines 【发布时间】:2015-12-27 12:14:52 【问题描述】:我有两台 Mac 都是最新的 OS X 和 Xcode。一方面,我可以安装 cocoapods 和项目 podfile 中指定的 pod。另一个失败:
pod install --verbose 准备中
更新本地规范存储库
从创建规范 repo
master
的浅层克隆https://github.com/CocoaPods/Specs.git
$ /opt/local/bin/git clone https://github.com/CocoaPods/Specs.git master --depth=1 克隆到 '主人'...错误:错误:1006706B:椭圆曲线 例程:ec_GFp_simple_oct2point:访问时点不在曲线上 https://github.com/CocoaPods/Specs.git/info/refs?service=git-upload-pack 致命:HTTP 请求失败 [!] 无法使用 url 添加源https://github.com/CocoaPods/Specs.git
命名为master
。你可以试试 在~/.cocoapods/repos
或通过pod repo add
手动添加。/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/sources_manager.rb:48:in
rescue in find_or_create_source_with_url' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/sources_manager.rb:53:in
find_or_create_source_with_url' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:616:inblock in sources' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:615:in
map' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:615:insources' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:211:in
update_repositories' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:129:inblock in resolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:59:in
section' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:128:inresolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:104:in
安装! /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:71:inrun_install_with_update' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:101:in
run' /Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:inrun' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:in
run' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/bin/pod:44:in<top (required)>' /usr/bin/pod:23:in
load' /usr/bin/pod:23:in `'
我已经完全卸载并重新安装了 cocoapods,并尝试了与 SO 远程相关的所有其他内容。对我来说,这听起来像是加密/解密问题或 https/ssl 问题。
在有问题的机器上,我确实安装了一个 pre-beta Xcode,但我已经删除了它并确保它的命令行工具设置正确。
有人对如何补救或进一步诊断有建议吗?
【问题讨论】:
【参考方案1】:我采取了激烈的行动。我卸载了 Xcode(应用程序、库、首选项),卸载了 cocoapods,并卸载了 MacPorts(我本可以有一个旧端口参与其中)。重新安装了 Xcode 和 cocoapods,现在它可以工作了。
【讨论】:
以上是关于pod 安装失败并出现错误:错误:1006706B:椭圆曲线例程的主要内容,如果未能解决你的问题,请参考以下文章
pod install 失败并出现错误:在 iOS 中安装 pod 时 `Podfile` 需要 Library (from `../`)`
Xcode:Pod 安装后构建失败(错误:链接器命令失败,退出代码 1)