我刚安装的CocoaPods按照以下说明:pod安装返回致命错误:SSL证书问题?
现在我打开它具有的CocoaPods在它的Xcode项目,我打开终端,进入该项目的文件夹,输入“吊舱安装”的要求,和我得到回错误:
$ 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>'
我不知道这是关于什么。有人能帮我吗?这是我第一次尝试在OS X Mavericks上使用CocoaPods做任何事情。
谢谢!
它固定的问题!起初,pod安装非常慢,我认为这一步后它仍然不起作用。谢谢Aaron! – Mathieu
@Mathieu我总是使用'pod install --verbose',这样我就可以看到进度,否则我会变得不耐烦。 –
很高兴知道!谢谢!! – Mathieu