First, try creating a clean assembly through the Product β Clean menu (with XCode 4.6.2).
If this does not work, open the Organizer (select "Window-> Organizer" from the menu). When the Organizer is open, select "Projects" in the toolbar at the top of the window. On the left is a list of projects, select the one with which you have a problem.
In the details panel (to the right of the list), the name, location, project status will be displayed. The line below it shows where the Derived Data is. Click the "Delete ..." button on the right. A dialog box appears, click "Delete."
You can also manually delete derived data:
~/Library/Developer/Xcode/DerivedData/{project name + gobly-gook}
This directory contains built-in products and indexes for the project. This is fine to delete, because it only contains elements generated by Xcode. Xcode will restore everything the next time the project is opened.
logancautrell Aug 16 '11 at 0:10 2011-08-16 00:10
source share