How can I delete derived data in Xcode 8? How can I delete derived data in Xcode 8? xcode xcode

How can I delete derived data in Xcode 8?


(Working in Xcode 11 and 12)

You can go to File > Workspace Settings if you are in a workspace environment or File > Project Settings for a regular project environment.

Then click over the little grey arrow under Derived data section and select your project folder to delete it.


The simplest and fastest way is the following (if you have not changed the defaults folder for DerivedData).

Open terminal and past the following:

rm -rf ~/Library/Developer/Xcode/DerivedData


Many different solutions for this problem. Most of them work as well.Another shortcut seems to be added as well:

Shift + alt + command ⌘ + K

Will ask you to:

Are you sure you want to clean the build folder for “MyProject”?

This will delete all of the products and intermediate files in the build folder.

In most cases this would be enough to solve your problems.

UPDATE

As of Xcode 9 you'll be able to access the Derived Data folder by navigating to

File -> Project Settings

or if you use a Workspace:

File -> Workspace Settings

And press the arrow behind the path:enter image description here