Icons not appearing on High Sierra

I updated to High Sierra on my Macbook Pro when it was released. Since I have updated, a lot of my applications show the attached icon when I open them. Does anyone know a fix to this?

enter image description here


Solution 1:

Give this a try.

sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {} \;
sudo rm -rf /Library/Caches/com.apple.iconservices.store
killall Dock

After running the commands, I had to remove the app from the dock and add it again. It worked for me but YMMV.

Solution 2:

Rebooting in "Safe Mode" fixes this issue. Probably because system caches are cleared and re-created during safe boot.

To boot in Safe Mode, hold the shift key while starting or rebooting the Mac. You can release the shift key when the login prompt appears.

Apple provides more details about Safe Mode in this article.

Solution 3:

This is what I did, but it resets your dock to default and removes every app expect the default ones:

$ defaults delete com.apple.dock
$ killall Dock

Don't know if it lasts long but I got all the icons back.