问题
I'm trying to restore Code Sense, which has stopped working for my project, and it looks like the accepted way to do that is to delete the derived data.
The problem is that the project has to be open or it doesn't appear in the Organizer, and the delete button for the derived data is faded out and unable to be clicked.
My project is a dropbox folder.
回答1:
You can clear Derived Data manually without using Organizer. Go to ~/Library/Developer/Xcode/DerivedData/ and delete every thing there, or at least the folders that start with the name of your project.
回答2:
Better way to clear Derived Data is to use this plugin. - https://github.com/kattrali/deriveddata-exterminator
And a better way to install the plugin is to use Alcatraz - http://mneorr.github.io/Alcatraz/
It really is awesome. Try it.
来源:https://stackoverflow.com/questions/9509004/cannot-delete-derived-data-in-xcode-4s-organizer