Cannot update xcode on AppStore

17,375

Solution 1

You actually doesn't have to go to developer website as @user9749232 said. If you move your current Xcode file from Applications(Finder -> Applications) to trash, you can then download the latest Xcode from AppStore itself. If you want your Xcode back, take it back from trash.

Solution 2

For me it was due to OS version not being compatible with XCode version. I updated to the newest os and it worked.

Share:
17,375

Related videos on Youtube

Salah
Author by

Salah

..

Updated on June 04, 2022

Comments

  • Salah
    Salah almost 2 years

    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?

  • balazs630
    balazs630 about 3 years
    Thanks it helped to understand the problem... Xcode 12.5 requires macOS 11.0 Big Sur and I was on 10.15.7 Catalina.