xcodemacoshomebrew

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


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 install Xcode 4.6.

But when I go to open up Xcode > Preferences > Downloads, it says there are no updates?


Solution

    1. Open up App Store

      enter image description here

    2. Look in the top right for the updates section (may also be in lefthand column "Updates"..)

      enter image description here

    3. Find Xcode & click Update enter image description here