1

is there a way to clean recent items in the checkout dialog box ("source control" -> "check out...") on Xcode 7 ?

enter image description here

aleciuf
  • 353
  • 3
  • 11

2 Answers2

1

It seems that you will need to find com.apple.dt.XCode.plist located in your Library/Preferences directory.

Search for IDESourceControlRecentsFavoritesRepositoriesUserDefaultsKey and there should be a list of items under that key. Unwanted repositories can be deleted from it and it will be reflected the next time XCode is restarted.

Such a difficult task for something to trivial. But hey, at least it is possible to do this. Cheers.

Rachel Fong
  • 730
  • 1
  • 8
  • 16
0

That window lists both:

  • Projects/Workspaces that Xcode is tracking (and thus maintaining derived data for, like build products)
  • Repositories that Xcode is holding login credentials for

For the first one, look in the Projects window. You can clear things out of there, at the cost of losing the derived data associated with them.

For the second, look in the Accounts pane of Xcode Preferences.

Once you've deleted things from both places, they shouldn't show up in the Check Out window anymore. (If they do, I'd call that a bug... and file it with Apple.)

rickster
  • 124,678
  • 26
  • 272
  • 326