How do you update Xcode on OSX to the latest version?

后端 未结 12 1553
清歌不尽
清歌不尽 2020-11-30 19:38

What is the easiest way to update Xcode on OSX?

I see this in the terminal:

$ brew install xxxxxxx
Warning: Your Xcode (4.3.3) is outdated
Please ins         


        
12条回答
  •  庸人自扰
    2020-11-30 20:19

    I ran into this bugger too.

    I was running an older version of Xcode (not compatible with ios 9.2) so I needed to update.

    I spent hours on this and was constantly getting spinning wheel of death in the app store. Nothing worked. I tried CLI softwareupdate, updating OSX, everything.

    I ultimately had to download AppZapper, then nuked XCode.

    I went into the app store to download and it still didn't work. Then I rebooted.

    And from here I could finally upgrade to a fresh version of xcode.

    WARNING: AppZapper can delete all your data around Xcode as well, so be prepared to start from scratch on your profiles, keys, etc. Also per the other notes here, of course be ready for a 3-5 hour long downloading expedition...

提交回复
热议问题