I just upgraded from Sierra to High Sierra And I met this problem which is i cannot Update xcode. When i click on update it shows loading symbol on top starts animating and nothing happen.
I tried this:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist RecommendedUpdates
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist DidRegisterLocalUpdates
sudo rm /Library/Updates
rm -rf ~/Library/Caches/com.apple.SoftwareUpdate/
Any help?
Re-login your apple id in App Store might help. If not, you can download the latest Xcode in developer website instead of updating.