安装CocoaPods:无响应 [英] Installing CocoaPods: no response

查看:75
本文介绍了安装CocoaPods:无响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试从终端安装CocoaPods:

Trying to install CocoaPods from the terminal:

$ sudo gem install cocoapods

输入我的root密码后,什么都没发生。

After entering my root password, nothing happens.

如何调试? / p>

How can I debug that?

推荐答案

对于其他同样的人,安装gem需要永远的时间。如果运行:

For others wondering the same, installing the gem takes forever. If you run:

export GEM_HOME=~/.gems
export PATH=$GEM_HOME/bin:$PATH

gem install cocoapods -V

使用标志安装V 启用详细输出,使您可以在下载和安装过程中查看所有输出,这很多。

Installing with flag V enables verbose output which will let you see all the output as it is going through the download and install, it's quite a lot.

这篇关于安装CocoaPods:无响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆