Can't start Xcode - stuck on installing state
There is a small progress bar under the Launchpad icon in the Menu Bar.



You can also see the current download progress by hovering over the icon.

Wait for it to end.