Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to ask you what is wrong with my Xcode 4.1. Every time I launch it, it show me that there are "No recents" nevertheless the fact that I have created lots of projects.


defaults write NSRecentDocumentsLimit X

does not work

Thank you in advance.

share|improve this question
Have you tried any steps to isolate the issue? Does making a new user account and creating one or two projects have the same bad behavior? – bmike Aug 18 '11 at 16:47
I have, but there is still the same issue :( – Arthur Aug 18 '11 at 16:49
If you would kindly edit the question to summarize the steps - it will help me see if perhaps I know one you missed. Also a wild guess - can I assume your Xcode is installed on the good disk and does it have less than 20G free? – bmike Aug 18 '11 at 16:53
I actually tried "defaults write NSRecentDocumentsLimit 5" but there was no response, same "No recents" and actually created some new projects which also did not change anything. Talking about, installation of the Xcode there is still lots of space - 408.48 GB available. – Arthur Aug 18 '11 at 16:59
up vote 6 down vote accepted

Recent items menus can be tied to the "Number of recent items" preferences for the Finder in System Preferences, but this is particularly true for Apple's software now. Setting the OS preference for "Documents" to anything other than "None" will activate that feature in Xcode. I wouldn't have done it that way either.

enter image description here

You might have to Quit and Discard Windows Command-Option-Q, change the number in the general pane and relaunch Xcode. It's a bit convoluted to get the change active with all the recent "save your workspace" changes in Lion.

share|improve this answer
How to find this "Number of recent items" in "System Preferences"? – Arthur Aug 18 '11 at 17:00
@bmike: Thanks for the assist – Philip Regan Aug 18 '11 at 17:33
Thank you!!! That works perfect! – Arthur Aug 18 '11 at 17:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.