Should we stop index file of spotlight for `DerivedData`

261 views Asked by At

DerivedData always big and change.

Index this folder looks not help not so much since

  1. it's template file.
  2. every time indexing kind of slow for every edit & debug circle.
  3. Always see it's indexing in Xcode progress bar.
1

There are 1 answers

1
blastervla On

I'm not really sure if this is your case due to the lack of information in your question. You can always try deleting the whole Derived Data folder - or at least the one corresponding to your application.

If that doesn't help, here are links to two different questions, with their respective answers which I think might be of use.

As stated in this SO question:

Killing the processes named 'swift' and then checking the error in xcode will give you the part of the code giving you trouble. There are some bugs in swift that needs to be circumvented.

To kill the process: Applications > Utilities > Activity Monitor. Then find the "swift" process, double click and choose Quit or Force Quit.

I also suggest you try, should the above not work, the recommendations in this other SO question