Applications don’t show up in Spotlight search result.
Turn off spotlight
sudo mdutil -a -i off
Unload and reload it
If your macOS System Integrity Protection (SIP) is enabled, you will see an error message looks like
Operation not permitted while System Integrity Protection is engaged, so you can ignore this step.
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Turn on spotlight again
sudo mdutil -a -i on
If the problem was not solved, try these instructions:
- Go to System Preferences, Select Spotlight.
- Select the Privacy tab.
- Click the Plus (+) button.
Cto reveal your hard drives (if they are not available otherwise), or simply navigate to your hard drive (most likely MacintoshHD)
- If you have more than one hard drive, hold the Command key and click your various drives to add them to your selection.
- Click the
Choosebutton to add them to the Privacy list.
- Ignore the warning.
- Remove the hard drive by clicking the minus sign.
Now everything should be reindexed as expected.