Benches macOS

1

refreshing application dock icons

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

It seems like the Dock caches application icons using com.apple.dock.iconcache. I recently:

1) created an application

2) dragged it to the Dock to create a shortcut

3) updated the application bundle to include a new .icns icon

4) at this point the Dock did not refresh to show the new icon. No biggie, I tried logging out and back in. No change. I tried rebooting and also saw no change. Then one day the icon did end up refreshing itself in the Dock.

How does the Dock decide when to refresh applications icons in it's icon cache? Is there a way to help suggest to the Dock that my apps icon needs refreshing? I think I've seen this on both 10.3 and 10.5 if that is of any use. You'd thing the Dock would maintain a md5 checksum of the applications .icns file and auto refresh its cache whenever this md5 changes but apparently that does not seem to be the case.

1 reply

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    by far the easiest is to drag the application icon off the dock so that it goes poof and then put it back on it. this will refresh the icon.

    I don't know how often the Dock refreshes the icon Cache. of course, you can always delete the cache and restart dock. that works too.