Search code examples
macosapp-storemacos-high-sierra

Cannot update xcode on AppStore


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.

enter image description here

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?


Solution

  • Re-login your apple id in App Store might help. If not, you can download the latest Xcode in developer website instead of updating.

    https://developer.apple.com/downloads