Endless spinner when trying to update Xcode in App Store
Here's what I had to do


Upgrade OS X to the latest


This stopped the eternal spinner - instead the spinner showed for a second, then nothing happened
In the past, updating the App Store itself helped

Go to the Updates tab and click UPDATE ALL


App Store asked me for my credentials then ran all upgrades, including Xcode