Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hobspain

macrumors regular
Mar 29, 2010
127
116
gristel: thanks for posting the update. It seems that in El Capitan 10.11.3 it indeed works (10.11 didn't for me).
 

RedTomato

macrumors 601
Mar 4, 2005
4,157
442
.. London ..
There is a solution to this on Yosemite. It is to create a dummy Xcode application in the applications folder, then Spotlight will think you are a dev and allow you to turn it developer search results off.

To create the dummy Xcode app you have to go in to terminal and paste these separately otherwise it'll not work...

Code:
cd /Applications
touch Xcode.app

Then go into system preferences and uncheck "Developer" form Spotlight searches. You may have to reopen system preferences to see the option appear...

Then open another terminal window and paste this to hide the dummy app, don't worry as spotlight will still think Xcode is installed

Code:
chflags hidden /Applications/Xcode.app

And there you are developer search results are hidden on Yosemite :apple:
Worked great for me in El Capitan. Many thanks for solving a long-standing irritation!

I tested deleting the Xcode file, which made the Developer item vanish from the Spotlight syspref menu. Straightaway the Dev items started showing again in Spotlight searches. So if you *don't* have xcode, it defaults to both activating *and* hiding the Dev spotlight preference option. Niiiiice.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.