安装 Cocoa Pods 时出现以下错误。
...........
Successfully installed cocoapods-core-0.33.1
Fetching: cocoapods-0.33.1.gem (100%)
ERROR: Error installing cocoapods: cocoapods requires cocoapods-try (~> 0.3.0)
------------------------------------------------------------------------
Best Answer-推荐答案 strong>
我也遇到了同样的问题,解决方法如下:
sudo gem install cocoapods-try
之后我在尝试安装 cocoapods 时遇到了后续错误:
ERROR: Error installing cocoapods:
cocoapods requires cocoapods-trunk (~> 0.1.1)
这促使我尝试:
sudo gem install cocoapods-trunk
完成最后一个 sudo:
sudo gem install cocoapods
你应该很高兴!希望它对你有用!
关于ios - Xcode 5.1.1 安装 CocoaPods 时出错,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/24773216/
|