Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode4 add Repository Host Unreachable?

I'm trying to add a remote linux SVN repository to my project but when I enter the server address I get the message Host is unreachable.

I'm entering it like

svn://ip_address/myproject/ 

From terminal I can do this

svn list svn://ip_address/myproject/

and it shows the contents without any issues.

like image 272
MonkeyBlue Avatar asked Jul 19 '11 14:07

MonkeyBlue


1 Answers

I had this problem as well in linking to a Git repository. It seems XCode has some issues with IP addresses. I found that by modifying my hosts (/private/etc/hosts on Mac) file and adding an entry for the repository's IP address does the trick.

Hosts file entry:

i.p.add.ress  serverName  #where i.p.add.ress is your ip_address

In the Location field in XCode:

svn://serverName/myproject

The comments above referencing the other question's answer doesn't cover the IP address issue. Hopefully this will fix your issue too.

like image 50
Josh Metcalfe Avatar answered Sep 29 '22 23:09

Josh Metcalfe