Search code examples
iosgitcocoapodsxcode5

Cocoapods setup stuck on pod setup command on terminal


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 website, SO and few video tutorials. Nothing happening even after waiting for a couple of hours, however still trying to figure out what may be the problem is?

I would very much appreciate your comments and suggestions.


Solution

  • 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.

    Screenshot 1

    Just wait! It happened the same for me :)