Xcode doesn’t show up in spotlight results, neither search results

findersearchspotlightxcode

I haven't noticed exactly when it happened but previously I was always using spotlight to run Xcode. Now if i'm typing "Xcode" in it, only folders containing this name show up, or some xcode projects, not all though.
I've tried search in finder and even choosing kind of files – Application, still no luck.
Did Anybody face this problem before?

Best Answer

Try Rebuilding Spotlight index. You can do it from the Terminal:

$ sudo mdutil -i on /