Trouble downloading XCode 6.2 on Mac OS X Mavericks (10.9.5.) and Yosemite (10.10.2)

MB_iOSDeveloper picture MB_iOSDeveloper · Mar 17, 2015 · Viewed 13.2k times · Source

I can not download Xcode 6.2. I tried upgrading it and it doesn't work. I have successfully downloaded 6.2. beta 5 but can't download the full version.

I am using Chrome and safari. I had multiple network errors , connection breaks and it this isn't my problem. The problem is that the download comes to 2.6/2.6 and does not finalize it. The file is still named "Xcode_6.2.dmg.crdownload". I tried:

  • renaming the file To Xcode.6.2.dmg
  • to Xcode6.dmg (with one dot)
  • open package content and run XCode6.2.dmg

and I alsways get the following error: "The following disk images couldn't be opened" "Xcode6.dmg" Reason = image not recognized.

Some times the downloaded file which said to be finished had only 726 MB disk size, even the browser AND Finder said it had 2.6/2.6Gb (I found this out by "Get Info" for the download file).

I also followed this so : How to download Xcode DMG or XIP file?

and this:

Trouble downloading XCode 6.1 on Mac OS X Yosemite

None helped. I also tried:

  • downloading via wget
  • resuming via wget
  • download from a different internet connection/IP
  • from different machines: Mac mini 2009, 2013, Mac Pro 2012
  • from different OS versions Mac Mavericks and Yosemite
  • from different accounts: iOS Developer and iOS Enterprise Developer
  • from different download links
  • from different browsers: Safari, Chrome
  • updating Xcode 6.1.1 to Xcode 6.2.
  • few more so answers which I don't have here

Here is my terminal output:

Mac-mini:~ W_MB$ sudo find / -name *XCode*
/Applications/iMovie.app/Contents/PlugIns/Compressor/CompressorKit.bundle/Contents/PlugIns/ProMediaIO/Components/IMXCodec.component
/Applications/iMovie.app/Contents/PlugIns/Compressor/CompressorKit.bundle/Contents/PlugIns/ProMediaIO/Components/IMXCodec.component/Contents/MacOS/IMXCodec
/Applications/iMovie.app/Contents/PlugIns/Compressor/CompressorKit.bundle/Contents/PlugIns/ProMediaIO/Components/IMXCodec.component/Contents/Resources/IMXCodec.rsrc
/Applications/Xcode.app/Contents/OtherFrameworks/DevToolsInterface.framework/Versions/A/Resources/English.lproj/PBXCodeAssistant.nib
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory

I am beggining to run out of ideas what to try next and how to solve the problem. I also wonder if it is a problem on the apple-server-side. I need to finish my project in 2-3 weeks and I am having real problems with this XCode update. Any ideas or solutions are welcome, I will try them.

UPDATE (17.04.2015.):

I have successfully downloaded Xcode 6.3 but only after several downloads. I had once the same error like before. The download did go to 100/100% but didn't finish and I had once a "package corrupt" error. I also downloaded Xcode 6.3 onto my late 2009 mac mini (Mavericks) and had the corrupt package error while on my mac mini 2012 (Yosemite) the same .dmg file worked...

Answer

LinusGeffarth picture LinusGeffarth · Mar 17, 2015

Regarding your network errors: I think if multiple machines have the same problem then you should go somewhere else, like to libraries with free wifi to see if it works there.

I recommend to deinstall Xcode 6.2beta and any other Xcode copies you have. (maybe save them to an external hard drive so you have a backup) You can do this using CleanMyMac (not sure if deinstall is included in a trial version).

After deinstalling I would try to download it from the AppStore since that will give you the most stable internet connection.

If that still does not work, try again downloading Xcode from Apple's Member Center.

No progress? Then use the beta to finish your project and send a support request to Apple (they offer phone support now which is quite a lot faster)

Good luck and hope it helps :)