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

后端 未结 12 1575
清歌不尽
清歌不尽 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:38

    You can try mas-cli (Mac Apple Store cli). Github project here

    It would be

    $ brew install mas
    $ mas list
    $ mas search Xcode
    $ mas install  
    
    $ mas upgrade 
    

    upd:

    Had issues installing Xcode 12.2 in Big Sur. Solved them by entering into the App Store from the devs link.

    https://developer.apple.com/download/release/

提交回复
热议问题