MacOS – Xcode 4.6 not installing on the Mountain Lion

mac-appstoremacosxcode

I am updating my Xcode 4.5.x to Xcode 4.6 directly from Mac App Store. But I am unable to update it. First it downloads the new Xcode. After downloading, it starts installing. But while installing it gets stuck at 2 minutes and the installation time counter changes abruptly between 2 minutes to 17 minutes. After some time, the installation stops and the Xcode 4.6 download starts again. This process is repeating since last night. Anyone else having the same issue. I have updated my Xcode from App Store previously also, but never had any issues.

Best Answer

You can download the DMG separately this time. You do not have to go through the App store, but it requires a free Developer account.

1) Log into the Mac Developer Center
2) Scroll down to the "Xcode 4.6" section.
3) On the right there is a button to download Xcode 4.
4) Open the DMG.
5) Drag the old Xcode from the Applications folder to the Trash.
6) Drag the new Xcode from the mounted volume to the Applications folder.

This time it will download a DMG file instead of a link to the Mac App Store.

Either way you will have to download reinstall any extras from within Xcode itself. See the Preferences -> Downloads tab to finish the install.