Xcode gives "spotlight quit unexpectedly" error message

Viewed 2719

After updating to the newest version of Xcode 12, I started getting a "spotlight quit unexpectedly" error message. I uninstalled Xcode and the error message went away, but when I look in Launchpad the Xcode icon is still there and can't be deleted. Anyone have any idea how to fix this?

1 Answers

Clicking "x" on the jiggling icons in the Launchpad has not been a robust method to delete apps, in my experience. Some apps are root-owned (check by ls -la) so this method never even prompts for root password, let alone deleting the apps.

Best way is to use uninstaller or in-app buttons to uninstall it. This cleans up the contents in ~/Library or /Library and any Launchdaemons or Launchagents.

For Xcode, no such thing is there, so move Xcode app to Trash using Finder. Also delete ~/Library/Developer if you'd like.

https://apple.stackexchange.com/questions/258733/how-to-show-hidden-files-on-mac-without-terminal/264473#264473

Related