pod安装失败并显示错误:错误:1006706B:椭圆曲线例程

时间:2015-09-29 21:04:39

标签: ios ruby xcode gem cocoapods

我有两台Mac都是最新的OS X和Xcode。首先,我可以安装cocoapods和我项目的podfile中指定的pod。另一个失败了:

  

pod install --verbose准备

     

更新本地规格存储库

     

从中创建spec repo master的浅层克隆   https://github.com/CocoaPods/Specs.git $ / opt / local / bin / git clone   https://github.com/CocoaPods/Specs.git master --depth = 1克隆到   'master'...错误:错误: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/repospod 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:in block 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:in sources' /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:in   block in resolve_dependencies' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:59:in 部分”   /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:128:in   resolve_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:in   run_install_with_update' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:101:in 运行”   /Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:in   run' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:in 运行'/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问题。

在有问题的机器上,我确实安装了预测试Xcode,但我已经删除它并确保它的命令行工具设置正确。

有人建议如何补救或进一步诊断吗?

1 个答案:

答案 0 :(得分:0)

我采取了激烈的行动。我卸载了Xcode(应用程序,库,首选项),卸载的cocoapods和卸载的MacPorts(我可能有一个旧端口进入混合)。重新安装了Xcode和cocoapods,现在它可以正常工作。