Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

XCode fails to open on my machine - OS X 10.8.2. It opens the main screen and just hangs there with the spinner spinning becoming unresponsive. If I double clcik a project, it just hangs sating it is loading.

I tried:

  1. Uninstalling and re-installing;
  2. Removing my project tree;
  3. Deleting some recommended preferences, most of which did not actually exist on my machine to begin with.

Things of note:

  1. This is a new computer. The first time I ran XCode, it opened fine, though I didn't try using it. The problem appeared when I first opened an existing project.
  2. I created a new user on the machine. When that user is logged on XCode loads successfully. Apparently it is a user settings issue.
share|improve this question
    
For user settings look in ~/Library/Preferences and look for anything with Xcode in - try deleting them –  Mark Mar 19 '13 at 21:56
    
The irony - a developer tool hanging. You could always run sysdiagnose on Xcode and submit a bug report to Apple :) –  bmike Mar 20 '13 at 4:15
    
@Mark, I tried that. No avail. –  Adi Shavit Apr 4 '13 at 11:33
    
You need to unhidden files first then try this : stackoverflow.com/questions/19473231/… –  user66483 Jan 5 at 8:57

2 Answers 2

up vote 3 down vote accepted

Based on this:

  1. I deleted all XCode related "Unsaved Docs" docs found via the Finder search;
  2. I removed the ~/Library/Developer folder;
  3. Emptied the trash.

This worked for me.

share|improve this answer

A slightly improved answer:

I didn't need to reinstall xCode at all, just remove the 'unsaved documents':

Search in ~/Library for xcode (by name) (to search, you go to this folder, enter xcode, with the drop down choose "by name", and then click the "Library delete anything matching in ~/Library/Caches or "~/Library/Autosave Information" or that looks like it might be an unsaved documents

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.