What to do when Xcode 4 won’t open your project

If you might find yourself in a situation where you try to open an Xcode project but it only shows a blank window with “No Editor” in the middle, don’t panic! Instead of creating a new project from scratch, or leaping through the nearest window to an untimely demise, simply “Show Package Contents” on the xcodeproj file in Finder, then delete the workspace file. That eliminates whatever the underlying problem is, allowing you to then open up the project again. Of course, if you have more than one project in your workspace this quick fix will introduce additional headache, as you will need to then recreate the workspace.

About Josh Smith

Josh Smith is a musician at heart, and a software developer by obsession. He lives in Arizona, plays classical music on the piano, jazz on the guitar, and enjoys brutally long rides on his bicycle. He has a wonderful wife and thinks that, in general, life is good.
This entry was posted in Xcode 4. Bookmark the permalink.

9 Responses to What to do when Xcode 4 won’t open your project

  1. Rob says:

    AWESOME! Was sitting here with a project that when I opened it just showed the last version of the default icon – but nothing else. Was looking at restore options or new project files but your fix worked a treat! I’d buy you a beer if I could!

  2. Simon says:

    Thank you kindly, because there’s a window right behind my desk, and an untimely demise was becoming an option

  3. Saran says:

    When i just started to scratch my head and suspecting everything else, found this right solution. Thanks for sharing.

  4. Sarah C says:

    Thank you for this! I’ve had this before and recreated the project to fix it. Thankfully this time I thought to google, found this straight away and it worked like a dream. Can’t really understand why it happens, it was working fine when I left last night, everything closed down with no problems too.

  5. Thank you very much for solving my problem! If you visit West Palm Beach at some point, dinner’s on me 🙂

  6. Gargo says:

    doesn’t work for me

Comments are closed.