我剛安裝的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