Skip navigation

xCode freeze at startup ... White window says "No Editor"

5775 Views 13 Replies Latest reply: Mar 8, 2014 1:32 PM by wjcw RSS
fmasini Level 1 Level 1 (0 points)
Currently Being Moderated
May 21, 2012 10:33 AM

Hello,
sorry for my bad english. I have installed xCode 5 days ago, and i'm new with Apple Computers. When i installed it for the first time, it ask me if i want create a new project or load some other. I have choosen to load other project that i have previously downloaded ... I have choosen my disk as project path.

 

Since the firts launch, xCode crash at the startup. When i launch it, appear only the xCode bar and a blank window says"No Editor". When i move my arrow on the bar, appears the loading raimbow icon ... I have tried to uninstall the app, with the trash and with the sudo command. (I have also tried with AppCleaner to delete all the xCode files). I have tried to reinstall xCode many times with no luck (manually and with AppleStore).

 

Every time i have the same problem.
How can i solve it? How can i make a clean install of xCode?
(Because when i reinstall it, it doesn't ask me the first launch window with the open project ask).

 

I have no activated TimeMachine, so i can't restore my system to a previously status.

 

Can anyone help me please?

iMac (21.5-inch Mid 2011), Mac OS X (10.7.4)
  • Mark Szymczyk Level 4 Level 4 (1,865 points)

    (Because when i reinstall it, it doesn't ask me the first launch window with the open project ask)

    Read the following to learn how to restore the welcome window:

     

    Xcode 4: Opening the Welcome Window

     

    Your problems with Xcode may be related to the project you downloaded rather than Xcode itself. Try creating a new project by choosing File > New > Project. If you can create a new project without Xcode crashing, the project you downloaded is probably the problem. If Xcode crashes when creating a new project, there probably is a problem with your Xcode installation.

     

    What version of Xcode are you using? Uninstall Xcode 4.3 by moving it to the Trash. Earlier versions of Xcode have an uninstall script that you run from the Terminal. Instructions on how to run the script are in the About Xcode document that is in the folder where you installed Xcode.

  • timurfromgeneve 23 Calculating status...

    I have the same problem. I was working with XCode today, it suddenly hung, and now every time I try to start it, it hangs with an empty editor's window (and it looks like XCode is trying to load the content of this window).

    I've reinstalled XCode, it still hangs. I created a new user, and this user can work with XCode. But this is not a real solution.

  • timurfromgeneve 23 Level 1 Level 1 (5 points)

    I found the solution (at least XCode does not hang anymore). I had to delete several files from ~/Libraries/Autosave Information - there were several

     

    "Unsaved XCode Document xxxxx.xcworkspace".

  • kentDe Calculating status...

    I have been trying to solve this problem for over a month. Ever since I was forced to upgrade to Lion to support OS 5.1, the xcode enviroment would not start. Like timurfromgeneve 23, I found the same solution advising to resintall under a new user and while it works, and like Tim points out, it is not a solution.

     

    I am fairly new to MAC and up until this incident, I was mostly excited about the environment. Now... not so much but thank you Tim, because deleting everything under the Autosave Information directory did "seem" to solve this issue. It did not work right away, but when I forced Xcode to quit... it didnt shut down, but it was this time still there in the task bar with and option to simply quit. I instead selected one of my projects to open, and it did. After closing the project, everything started working normally.

     

    I can say that this really makes me wonder about Mac's environment, I hate the fact that I had to use terminal to find this directory and learn the Unix command lines to find and delete the data. I don't know if the deletion or the odd behavior opening a project from the right click menu was what cleared the bad environment, but surely Apple needs to better document, or better yet, create an installation that works.

     

    Thanks Tim.


    Kent

  • timurfromgeneve 23 Level 1 Level 1 (5 points)

    Hi Kent,

     

    I agree - I spent some time searching for solution in google but soon gave up - advices like "fix file permissions with disk utility" or "reinstall XCode" did not help me (and I've re-installed XCode twice ).

    After that I simply started to search in every possible place for XCode-related files and at some point found this "Autosave". It's a pity that with Apple's products, if you have something less trivial, you're on your own and nobody can help you.

  • Diana! Calculating status...

    oh I have the same problem, what solution solved the prob?

    because I already reinstalled the OS X ... Xcode twice and still not working,

     

     

    kind regards.

  • Diana! Level 1 Level 1 (0 points)

    did that solved the issue?

     

    I am trying it right now, hopefully it works.

  • timurfromgeneve 23 Level 1 Level 1 (5 points)

    What solution do you mean? For me my solution works perfectly - I've deleted some (probably damaged/bad/broken) files from ~/Libraries/Autosave Information, files related to Xcode with

    names like "Unsaved XCode Document xxxxx.xcworkspace".

    You can try, if it helps you.

  • CachaDev Calculating status...

    Where do I find the folder  /Libriries/.....

    I am new with mac, I only know Windows and I have not a clue how to ge there,,,

     

    Thanks

  • TBlank555 Calculating status...

    Hopefully you've found the folder timurfromgeneve was referring to, but for other future visitors to this page, the path is actually "~/Library/Autosave Information/". It can be accessed like so:

     

    1. Open Finder.

    2. Select "Go" from the top menu bar

    3. With the Go drop-down menu displayed, hold the Option key to reveal a hidden item: "Library"

    4. Keep holding Option, and select Library.

    5. Double-click (or single depending on your Finder window) Autosave Information

     

    Then, delete anything and everything you find in there with "Xcode" in the title.

  • wjcw Calculating status...

    Worked for me in XCode 5! Here's a command that achieves the same solution in Terminal.app.

     

    find ~/Library/Autosave\ Information -iname '*xcode*' -exec rm -rf {} +

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.