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

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

问题描述

尝试从终端安装 CocoaPods:

Trying to install CocoaPods from the terminal:

$ sudo gem install cocoapods

输入我的root密码后,什么也没有发生.

After entering my root password, nothing happens.

如何调试它?

推荐答案

对于其他想知道的人来说,安装 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天全站免登陆