Sometimes Xcode needs a friendly helping hand with cleaning out the Derived Data for a project. The Exterminator makes this quick and easy.
Me: Build Project
Xcode: Nope, we've got errors.
Me: Clean Project, then Build
Xcode: Nuh uh, still no good.
Me: Open terminal, find DerivedData subdirectories for project, delete directories
Xcode: Oh hey, things are looking swell.
Or This, if you use MiniXcode:
- Clone and build the project. The plugin will be installed into
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
. (To uninstall the plugin, delete theDerivedData-Exterminator
directory from there) - Restart Xcode
- Select
Derived Data Exterminator in Title Bar
in theView
menu
- Push Button
- Moonwalk (optional, but recommended)
- Get back to building cool stuff
Clearing derived data (for the current project/workspace or all projects) is also available from the View
menu
- Creating an Xcode4 Plugin : Plugin structure and project configuration tutorial
- MiniXcode : Example of how to add UI components to Xcode workspace windows