相关疑难解决方法(0)

pod install返回致命错误:SSL证书问题?

我刚按照以下说明安装了CocoaPods:

现在我打开了一个包含CocoaPods的Xcode项目,打开终端,进入该项目文件夹并根据需要键入"pod install",我收到错误:

$ pod install
Setting up CocoaPods master repo
[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master

Cloning into 'master'...
fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': SSL certificate problem: Invalid certificate chain

/Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/lib/claide/command.rb:217:in `rescue in run': undefined method `verbose?' for nil:NilClass (NoMethodError)
    from /Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/lib/claide/command.rb:210:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command.rb:51:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/bin/pod:24:in `<top (required)>'
    from /usr/bin/pod:23:in `load'
    from /usr/bin/pod:23:in `<main>'
Run Code Online (Sandbox Code Playgroud)

我不知道这是什么.有人能帮我吗?这是我第一次尝试在OS X Mavericks上使用CocoaPods做任何事情.

谢谢!

git ssl curl cocoapods

8
推荐指数
2
解决办法
1万
查看次数

标签 统计

cocoapods ×1

curl ×1

git ×1

ssl ×1