Currently Being ModeratedMar 19, 2012 8:18 AM (in response to EGibs)
I had a similar issue that was finally resolved when I used Time Machine to restore the entire project file that Xcode had open when it first failed to the state one hour before the project was opened.
Currently Being ModeratedMar 19, 2012 3:30 PM (in response to xnav)
Unfortunately I don't have Time Machine set up but thank you for the suggestion.
Currently Being ModeratedMay 18, 2012 6:51 PM (in response to EGibs)
sorry for not posting a solution but i am just +1 this, as I have exactly the same problem.. reinstalled xcode many times now..from appstore and manually too, did the magic sudo /Developer/Library/uninstall-devtools --mode=all .. and then reinstall..no luck.
Currently Being ModeratedMay 21, 2012 9:43 AM (in response to EGibs)
Sorry for my bad english ... I have the same problem. When I installed xCode, it ask me a path for my projects, i set a directory on my disk, and since the first launch, i have the same crash with a blank "No Editor" window.
I have reinstalled it many time, and tried the sudo command. Every time the same problem.
Can i have a clean install for xCode? How can i do?
Can anyone help us? Please
Currently Being ModeratedMay 30, 2012 1:33 PM (in response to gabord13)
To reset the XCode for the current user You will need to delete the file:
at lease for me it worked. (I previously deleted every xcode related things, and installed back the XCode, but this file remained there, so the XCode always started with "no editor".)
Now it works...:)
Hope this helps.
Currently Being ModeratedMay 30, 2012 3:00 PM (in response to gabord13)
Ah and the Library dir is not visible in Lion, so to reach it, You must use Terminal, or in finder use the Go command, then write "~/Library"
Currently Being ModeratedNov 27, 2012 6:20 PM (in response to gabord13)
Worked for me as well. I had a problem starting XCode 4.5 where I mistakenly opened a folder instead of a project from the Welcome window and from that point on I was stuck in a CPU loop. cd into the folder. found those xcode files and rm-rf'ed them out of existence. XCode started right up after that.
Makes sense that these files survived an xcode reinstall and OS reinstalls. Would be fixed by installing/running under another user.
Thanks very much,
Currently Being ModeratedJan 11, 2013 1:41 PM (in response to EGibs)
Removing the Autosave alone was not sufficient in my case.
For anyone still experiencing this stubborn problem, here's what (finally) worked for me:
First, stop or if necessary kill XCode. Then do this:
1. Remove everything under ~/Library/Developer/Xcode/DerivedData
2. Remove the directory ~/Library/Saved\ Application\ State/com.apple.dt.Xcode.savedState
3. Remove the file ~/Library/Autosave\ Information/com.apple.dt.Xcode.plist if it exists.
4. Remove the file ~/Library/Autosave\ Information/Unsaved Xcode Document.xcworkspace if it exists.
5. Remove any other .xcworkspace files you find there.
Currently Being ModeratedJan 22, 2013 9:04 PM (in response to Locomotivation)
I have the same problem, started using xcode earlier this month, have the latest version, put a project in the trash and have had the white screen stating "no editor" ever since. Tried Locomotivation's tips above. Only noticed a couple of files under the derived data folder in step 1 which I removed...couldn't see any of the others mentioned or any .xcworkspace files. Tried restarting Xcode and had no success.
Anybody have other ideas?
Currently Being ModeratedMar 8, 2013 6:15 PM (in response to Wraex)
After backup from timemachine I had "no editor" message on my screen. The method given by Locomotivation worked for me. Thanks.
Currently Being ModeratedMay 7, 2013 7:53 PM (in response to gabord13)
Worked like a charm - thank you!
I went into terminal and just deleted everything in that folder. As root, type "rm -rf *" IN THAT DIRECTORY ONLY, as it will delete all contents. If you are up a level (or even worse, several) it can ruin you.
Currently Being ModeratedJun 20, 2013 7:19 AM (in response to EGibs)
Hopefully this alterative will work for some:
To show the tools on the 'No Editor' pane right-click on the toolbar area beside your project title, this should give a 'Show Toolbar' option.
On the far right of this toolbar, click the leftmost 'Show Navigator' button in the group of three 'View' icons.
This should present your project in the navigator on the left for you to access.
Currently Being ModeratedOct 23, 2013 12:34 PM (in response to Joeobinary)
You sir (Joeobinary) are a genius!!! So the XCode main screen was there all along, just hiding!!! You saved me a nightmare just hours before a go-live!!!
Perfect solution, worked instantly and no need to delete files etc etc! Thank you!!!!