46

I'm stumped. Xcode 5 - the final and public release only - will no longer automatically re-open the previously open projects when restarting Xcode. This feature always used to work, up to and including the Xcode 5 GM seed.

I can't find anything regarding "open last windows" or similar in System Preferences. It used to be on the General page. This is all there is in my version:

enter image description here

Does anyone know how to re-enable this feature, and can you confirm that it is gone? Or do I have a broken Xcode?

CodeSmile
  • 64,284
  • 20
  • 132
  • 217

1 Answers1

92

This is actually an os x feature. Under "System Preferences" and then "General", there is a checkbox that says "Close windows when quitting an application". This needs to be unchecked to reopen windows. This is what I had to do to get the opposite effect of what you want and can confirm this works.

In previous os x 10.7- it's ""Restore windows when quitting and re-opening apps", and needs to be checked to work.

corban
  • 618
  • 6
  • 16
DoS
  • 1,454
  • 13
  • 18
  • 3
    Thanks! The setting (at least on Mavericks) is called "Close windows when quitting an application" and was checked. Unchecking fixed it. I assume Apple added this after they introduced the auto-reopen feature in 10.8 which was frustrating, ie preview reopened your last couple dozen images every frickin' time. Seems like I can remove Enemy of the State now. – CodeSmile Oct 09 '13 at 22:46
  • Is there any way to make it not open the organizer window on start? – Peter Ehrlich Jul 08 '14 at 04:57
  • 5
    In OX 10.10.4, The setting is now the reverse: `Close windows when quitting an app` – Chris Conover Jul 04 '15 at 00:48
  • 1
    Still the solution in Nov 2017. – David Nov 29 '17 at 19:28
  • Solution still applicable as of Nov 2018, but following the description as @ChrisConover – Dan Nov 27 '18 at 19:11
  • Does not work for me on Big Sur 11.4 and Xcode 12.5. Despite unchecking the `Close windows when quitting an app` Xcode opens as an empty shell window and I have to go to `File > Open Recent`. – Big_Chair Aug 13 '21 at 08:52