Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode doesn't open a project normally

Tags:

xcode

I'm using Xcode 4.1 and it has always worked perfectly but today something wrong has happened. Instead of opening my project as it usually does it opens just code editor and nothing else. I have restarted my computer but it doesn't help. Other projects are opened normally. Can you give me a hint about what's going on and what should i do to fix it?

like image 387
Andrey Chernukha Avatar asked Dec 07 '11 14:12

Andrey Chernukha


3 Answers

View --> Show Toolbar , View --> Show Assistant Editor , View --> Show Project navigator

and so on.

like image 160
Oleg Trakhman Avatar answered Nov 16 '22 04:11

Oleg Trakhman


The solution, as others wrote before, is to reopen the missing panes and toolbar via the menu.

The cause of the problem is simple: If you open a source file in its own window (by double clicking it in the navigator or so) it just shows the editor pane. if you then close the main project window and the single source window afterwards, Xcode saves that last window state as the current view configuration in the project.

The intermediate solution is to never close the project window before closing all other source windows. But Apple should really fix this stupid bug. It has been around for too long.

like image 31
Nikolai Ruhe Avatar answered Nov 16 '22 04:11

Nikolai Ruhe


Go to

View --> Show Toolbar.

I've had this before, don't know how it happened, but this fixed it.

like image 4
James Webster Avatar answered Nov 16 '22 03:11

James Webster