Search code examples
iphonexcodegitthree20host

iphone git clone three20 project host unreachable


I am simply trying to do step one here on how to add There20 to my project: Three20

However when I run this on my terminal: git clone git://github.com/facebook/three20.git, it says:

Cloning into three20...
fatal: Unable to look up github.com (port 9418) (nodename nor servname provided, or not known)

I also tried with git://github.com/facebook/three20.git, this opens Xcode but gives host unreachable.

I can of course access github.com.

What am I doing wrong?


Solution

  • Try using https protocol instead:

    git clone https://github.com/facebook/three20.git
    

    You may be behind a firewall that is blocking access via the git protocol.