【发布时间】:2014-01-23 05:10:43
【问题描述】:
我刚刚按照以下说明安装了 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>'
我不知道这是怎么回事。有人能帮我吗?这是我第一次尝试在 OS X Mavericks 上使用 CocoaPods 做任何事情。
谢谢!
【问题讨论】: