Skip navigation

I recently updated my Macbook Pro to Mountain Lion and then downloaded and installed Xcode 4.5.2.  I still had Xcode 3.2.6 installed as well, and my goal was to update my existing projects to the newer version.  Unfortunately when I tried to load my first project, Xcode just hung and sat there loading forever until I Force Quit it.  I soon realized that this same issue occurred even if I tried to create a new project, tried to open the Repositories tab in Organizer, or even if I hovered over Xcode’s File -> Source Control menu item.  My system log continuously showed the same error:

Nov 12 14:14:50 MacBook-Pro.local Xcode[3307]: [MT] DVTAssertions: Warning in /SourceCache/IDEFoundation/IDEFoundation-1880/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:130
Details: Invalid location for source tree. Initialization failed: {
IDESourceControlRepositoryLocationKey = "";
authenticated = NO;
name = iPhone;
online = YES;
path = "";
system = "scm.subversion";
Method: -initWithDictionary:sourceControlExtension:sourceControlManager:
Thread: {name = (null), num = 1}
Please file a bug at with this warning message and any useful information you can provide.

After scouring the web for answers, deleting caches and preferences, and even re-installing Xcode, I finally stumbled across this link ( which recommended doing a Hard Reset of Xcode.  I had no idea what that meant, but this link ( helped me out.  Basically all I had to do was open Terminal and run the following three commands:

defaults delete
defaults delete
rm -rf ~/Library/Application\ Support/Xcode

After this I was finally able to open Xcode and create a new project successfully.


  1. I cannot begin to tell you how grateful I am for this. I tried many (_many_) different things I read all across the spectrum. This did it.


  2. many thanks. i was so frustrated…

Leave a Reply

Your email address will not be published. Required fields are marked *