Back up all data.
In the Finder, hold down the option key and select
Go ▹ Library
from the menu bar. From the Library folder, move the following items to the Trash, if they exist:
- Application Support/Dock
- Caches/com.apple.dock
and move the following items to the Desktop:
- Preferences/ByHost/com.apple.dock.*.plist
- Preferences/com.apple.dock.db
- Preferences/com.apple.dock.plist
Here “*” stands for a long string of letters and numbers.
Next, triple-click anywhere in the line below on this page to select it:
open $TMPDIR../C
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
Paste into the Terminal window by pressing the key combination command-V. A folder should open. Inside it there may be a file named "com.apple.dock.iconcache". If there is, drag it to the Trash.
Log out, log back in, and test. If you still have the issue, put the items on the Desktop back where they came from and post again. Otherwise, delete the items.