iOS Swift Newbie Gotcha Reminders #7– Stop spotlight from indexing and reduce build time 10% in XCode10!!!!

Raymond
iOS Newbies
Published in
2 min readMar 9, 2019

--

Let’s be honest. Spotlight is a resource hog and eats away cpu/ram/diskspace. Every time you build an Xcode project “DerivedData” directories’ files are updated and put back into reindexing. The chances of you ever searching within this directory is nil in most senarios. Therefore it’s best to leave this folder out from hogging resources.

Step 1: Blacklisting

Go to

System Preferences > Spotlight > Privacy

Then add the following directories.

“~/Library/Developer” and “~/Library/Caches

READ MORE ON HOW TO STOP INDEXING

Cheers! Enjoy your less resource hungry spotlight and reduced buildtime!

References:

This is a series of of multiple XCode / Swift / iOS Programming Gotchas to remind myself and hopefully relieve the stresses of many other beginner programmers whom are struggling with developing iOS apps via XCode.

Learning is a process of making many mistakes.

while(button.mouseDown) {clapCounter++}

--

--