Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've downloaded Xcode 4.3 and been trying to install it on OSX lion but I've the following error in the logfile

SoftwareUpdate Scan: Error Domain=NSURLErrorDomain Code=-1009 
"The Internet connection appears to be offline." UserInfo=0x7fcc71e646b0 
{NSUnderlyingError=0x7fcc71e653c0 "The Internet connection appears to be offline.", 
leopard.merged-1.sucatalog, NSLocalizedDescription=The Internet connection appears to be 

I tried manually browse urls showed above to check if they're live, and with my internet connection everything is fine. Also removed old XCode from the system

sudo /Developer/Library/uninstall-devtools --mode=all

but it didn't help I've the same error.

What is the right way to install XCode, what causes this problem?



share|improve this question
Do you have any entries in your hosts file pointing to – user3463 Jul 12 '12 at 6:37
Any chance your site requires a web proxy, which you configured in your browser (Firefox?), but not system-wide in "System Preferences > Network > [Interface] > Advanced > Proxies"? – Spiff Jul 12 '12 at 7:35
There is no anything pointing to apple sites – sultan Jul 12 '12 at 9:57
By the way I just installed XCode from app store and it worked – sultan Jul 12 '12 at 9:58
Then please answer your own question using the button below. Thanks! – slhck Jul 13 '12 at 0:38
up vote 0 down vote accepted

Thank you all for your attention,

The problem is solved

  • sudo /Developer/Library/uninstall-devtools --mode=all
  • Installed XCode from app store and it worked

Thanks, Sultan

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .