When I tried to update to Xcode 8.3, the following happened in App Store (it has been like this for over an hour):
So it just says \"loading\" and nothing happe
I upgraded my mid-2012 mac book pro to Sierra. But still was stuck with spinner.
This helped solve it. - (link to the apple discussion forum)
"Going to Applications in Finder and moving Xcode to the trash bin fixed the problem for me. As soon as I entered in my password to confirm moving Xcode to the trash, the App Store prompted me on whether or not I wanted to cancel the update or delete the app. I opted to delete Xcode, and the App Store immediately began downloading the update."