Cocoapods安装卡在终端的pod setup命令上 [英] Cocoapods setup stuck on pod setup command on terminal

查看:916
本文介绍了Cocoapods安装卡在终端的pod setup命令上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  MacBook-Pro:〜skbc $ pod setup --verbose 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0 .0 / universal-darwin13 / rbconfig.rb:212:警告:不安全的可写dir / usr / local / bin在PATH中,模式040777

设置CocoaPods master repo

从`https://github.com/CocoaPods/Specs.git`(分支`master`)克隆spec repo`master` $ b $ / usr / bin / git clone'https://github.com/ CocoaPods / Specs.git'master
克隆到'master'中...

已经离开通过Cocoapods网站提供的资源,SO和少数视频教程。即使在等待几个小时之后也没有发生,但仍然试图找出可能存在的问题是什么?我非常感谢您的意见和建议。谢谢!!!

解决方案

它没有卡住。我想,直到我去到系统的活动监视器,并检查了网络标签。



然后你会看到正在下载的东西。一个叫做 git-remote-http 的进程负责这项工作。 $ b



等待!它发生在我身上:)

祝你好运!


MacBook-Pro:~ skbc$ pod setup --verbose
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777

Setting up CocoaPods master repo

Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
  $ /usr/bin/git clone 'https://github.com/CocoaPods/Specs.git' master
  Cloning into 'master'...

Have gone through resources provided by Cocoapods web site, SO and few video tutorials. Nothing happening even after waiting for couple of hours, however still trying to figure-out what may be the problem is? I would very much appreciate your comments and suggestions. Thank you!!!

解决方案

It is not stuck. I thought the same until I went to the "Activity Monitor" of the system and checked the "network tab".

Then you will see that something is being downloaded. A process called git-remote-http is in charge of this.

Just wait! It happened the same for me :)

Good luck!

这篇关于Cocoapods安装卡在终端的pod setup命令上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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