Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

remove xcode recent projects from dock menu

Tags:

xcode

xcode4

People also ask

How do I delete Xcode history?

Open Xcode and go to File --> Open Recent . From there select Clear Menu . This will remove the shortcut to your most recent projects. Close Xcode and reopen it.

How do I delete Xcode project from MAC?

With Xcode closed, locate that project folder in the Finder, move it to the trash, then empty the trash.

Can I delete Xcodeproj?

No, you can't.


Here's what works for me:

  1. Launch Xcode
  2. Select File->Open Recent->Clear Menu
  3. Right-click the Xcode icon and select "Show All Windows". You should now see only your current document in the recents list at the bottom
  4. Quit Xcode.
    The recents list should now only be populated with your single current project.

  1. Start Xcode
  2. In Menu: File -> Open Recent -> Clear Menu
  3. Close Xcode
  4. Remove Xcode from Dock
  5. Reboot

Turned out that all you need to do is:

  1. Clear Recent Menu with Xcode
  2. killall Dock

Select File->Open Recent->Clear Menu

Remove Xcode from the dock

Re-add Xcode to the dock


Warning: This solution will wipe the passwords of all your developer accounts in Xcode (Xcode > Preferences > Accounts); If you apply this method, you will have to re-enter them afterwards.


This is what worked for me in El Capitan / Xcode 7. In Terminal:

% defaults delete com.apple.dt.Xcode
% killall Dock

(Source: https://simon.heimlicher.com/articles/2011/07/26/disable-recent-items)

Strangely, the recommended command:

% defaults delete com.apple.dt.Xcode RecentDocuments

...gives the message:

Domain (com.apple.dt.Xcode) not found. Defaults have not been changed.

...so I removed the RecentDocuments part and decided to go nuclear. Haven't checked what else is nuked (other than the passwords mentioned above), so use at your own risk.