Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I delete derived data in Xcode 9? [duplicate]

Tags:

xcode

xcode9

I have installed Xcode 9 today morning. It works fine but I want to understand the way to delete the derived data.

Is there any specific way to remove it?

like image 478
Nirav Jain Avatar asked Sep 28 '17 11:09

Nirav Jain


People also ask

Should I delete derived data Xcode?

Xcode can often do some strange things that causes build problems etc. One of the go to methods to try and fix these issues is to delete derived data.

How do I find derived data on my Mac?

To find your derived data folder, open a new Finder window. In the Finder menu bar, select Go ▸ Go to Folder…. Click Go to change the Finder window's path to DerivedData. Your derived data contains a ModuleCache.


2 Answers

Open Xcode -> click Preferences...

enter image description here

Now tap on Location tab then click on arrow same as below image

enter image description here

like image 150
Jay Bhalani Avatar answered Sep 24 '22 21:09

Jay Bhalani


Open Xcode -> click on Xcode menu on top bar -> preferences -> location tab. Here you can see the path of derived data. Click on the right arrow and delete all files from there. enter image description here

like image 44
Tejas Ardeshna Avatar answered Sep 25 '22 21:09

Tejas Ardeshna