In Xcode7 you click Window -> Projects and select the projects that you want the derived data to be deleted.
But with Xcode8 beta 2 the project menu no longer exists under the Windows menu. Are there any quick methods to delete the derived data through Xcode8 interface?
DerivedData is a folder located in ~/Library/Developer/Xcode/DerivedData by default. It's the location where Xcode stores all kinds of intermediate build results, generated indexes, etc. DerivedData location can be configured in Xcode preferences (Locations tab).
To clean the build folder you can use the shortcut Command+Option+Shift+K or Menu Bar → Product → Hold Option Key → Clean build Folder .
Open Terminal and enter this command
rm -rf ~/Library/Developer/Xcode/DerivedData
You can not use shift-alt-command-k.
shift-alt-command-k - This will delete all of the products and intermediate files in the build folder.It's different from delete derive data.
Yep, the 'Window/Projects' menu choice is missing, so it's all back to manual now.
Go to Prefs/Locations>Derived Data, where you can tap on the tiny arrow at the end of the derived data path to open it in the Finder, however. Then you have to figure out which one you want to remove.
Below is screenshot..
1)
2)2nd way to delete derive data File->Project Setting...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With