1

I'm on macOS 11.2.3 (20D91). I updated VS Code to the latest version which introduces a new icon.

Unfortunately, icon remains the same of before. I have already run killall Dock and killall Finder but things did not change.

7
  • 1
    Icon... where? In the Dock? In a Finder window? I have to say, mine updated and it's ugly. It's really unfortunate that developers don't have an easy way to provide multiple icons, so that those of us staying far far away from Big Sur's UI disaster don't have to look at the mess. Commented Apr 20, 2021 at 17:08
  • Have you tried deleting the current VS Code app first? You can then download it from code.visualstudio.com/Download, unzip it and drag it to the Applications folder. The Dock icon should update after starting VS Code.
    – jaume
    Commented Apr 20, 2021 at 17:17
  • 1
    @jaume just a typo (edited). No pun intended. Commented Apr 20, 2021 at 21:24
  • 1
    Fixed with this: github.com/microsoft/vscode/issues/… Commented Apr 20, 2021 at 21:25
  • 1
    Great news, could you add the steps to fix the icon problem with a reference to the source as an answer? You can then mark it as accepted to show other people with a similar issue that your issue is solved.
    – jaume
    Commented Apr 21, 2021 at 6:01

1 Answer 1

1

Fixed thanks to this suggestion

From the link above:

  1. Restart your dock via killall Dock in the terminal

  2. Run these scripts in your terminal (which updates the timestamp of the icons):

    sudo touch /Applications/Visual\ Studio\ Code.app
    sudo touch /Applications/Visual\ Studio\ Code.app/Contents/Info.plist
    sudo touch /Applications/Visual\ Studio\ Code.app/Contents/Resources/Code.icns
    killall Dock Finder
    

    Note: For Insiders and Explorations, simply append \ -\ Insiders or \ -\ Exploration to each version name reference.

  3. Force the IconService cache to be rebuilt using these steps:

    1. Remove the main IconServices cache store:

      sudo rm -rfv /Library/Caches/com.apple.iconservices.store
      
    2. Remove the subsidiary store, which includes the Dock icon cache too:

      sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \;
      
    3. Restart and give your Mac plenty of time to rebuild the caches.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .