How to remove duplicate icons from Launchpad? I have two identical Xcode icons in the Launchpad. I guess the second icon appeared after installing Xcode beta.
So here my steps for reproducing this issue:

Install Xcode 7.
Install Xcode 8.
Install Xcode 7 again.

I tried this but it didn't help me. I have OS X El Capitan 10.11.6.
How do I remove the duplicate icon?
This helped me. Try to move the Xcode App to Trash and put it back.

https://stackoverflow.com/questions/12519772/two-xcode-app-icons-in-launchpad-after-4-5-install