Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday I upgraded to Lion and it seems it got some additions on Spotlight - the Developer and Web Searches groups.

Sadly I couldn't find a way to disable them. There isn't an option in the Spotlight preferences and I couldn't find the right defaults option.

Any ideas on how to hide them? They are cluttering Spotlight FAR too much :)

share|improve this question
up vote 2 down vote accepted

I detailed a fix in this blog post:

share|improve this answer
This only works for removing the Developer category. – Oliver Ash Aug 13 '11 at 23:15
Welcome to Ask Different! The community appreciates answers that are more than just a link. It's okay to have al ink in your answers, but you must also summarize it in the answer itself. The idea is to make the answer able to stand on its own. Thanks! – Nathan Greenstein Aug 14 '11 at 4:10
Further explanation about Nathan's comment: what if the site you linked to goes down?... So will you please the text of your solution here as well? – Joseph Jun 19 '15 at 21:22

Spotlight thinks you are a 'Developer', if you have Xcode installed, or happened to install it at any time in the past, and hence shows you search results that maybe relevant to a developer.

When Xcode is actually installed and present on the computer, a check-box called 'Developer' appears in the System Preferences > Spotlight > Search Results panel giving us the option to disable 'Developer' results from appearing in our searches. When Xcode is not detected, the check-box disappears from the Preferences Panel, but Spotlight continues to show results from the 'Developer' category.

I am currently on Yosemite, and had installed and un-installed Xcode way back on Mountain-Lion or Lion, opting to use the 'Command Line Tools' instead. I also had Spotlight disabled until recently, and started getting hundreds of Search Results under the Developer category, once I re-enabled it. The clutter was making spotlight unusable.

Unable to find a solution anywhere on the Web, this is what I finally tried, and it worked:

I created an empty file called in the Applications folder, and the missing 'Developer' check-box showed up in Spotlight Preferences, which I could then un-check to solve my problem.

Open Applications > Utilities > then type and press Enter after each of the following lines to create the dummy Xcode app

cd /Applications

then head to Spotlight Preferences and uncheck 'Developer' (you might need to restart the System Preferences app to see the missing check-box appear).


  • You need to keep the dummy even after changing the setting, deleting it will cause the setting to revert back.
  • Another solution would be to install Xcode itself
share|improve this answer

Although the Search Results do not have toggles to sort or suppress these results, it's trivial to add the folders to the Privacy Pane.

Perhaps something like this might work to Suppress the Developer hits? enter image description here

I don't see an obvious way to suppress the Web Search yet, but thankfully it's placed last as a catch all - last resort. I'll probably feedback / bug Apple if 10.7.1 doesn't address that with a preference.

share|improve this answer
Well this means that I have to exclude my whole HD... :( – bisko Aug 11 '11 at 8:53
I've tried to get a flood of developer results but can't. It only contributes one, two or three hits to the bottom of the list spotlight window. What are you seeing and how could the developer files be anywhere but the developer folder? – bmike Aug 11 '11 at 13:27
As a web developer myself, I have a projects folder in my home dir. Every project have more than enough files in it and it just fills the spotlight results with items I do not want there. Not that it gets in my way or anything, I still get the results I'm looking for at the top, but it still annoys me to have them there. – bisko Aug 11 '11 at 14:43
Certainly file a bug - they added a class to the tool, it needs to be orderable/filterable like all the other categories of data. – bmike Aug 11 '11 at 14:50

Only one solution I could find, block all spotlight web access using little snitch. I guess this is up there with iCloud helping itself to your personal files.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.