Reputation: 4198
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:
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:
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...
Upvotes: 1
Views: 13326
Reputation: 111
I had the same problem befoure. Here is what i did to solve it.
here are two way to download Xcode 6,Upgrade OSX....etc,i have download successfully
1 Download The Xcode from a different internet connection/IP (i will suggest, you should use dongle instead of WIFI)
or
2:trying to download US Network throw the VPN
Thanks Sushil
Upvotes: 0
Reputation: 4198
The problem solved itself somehow... Here is what I did. First I unistalled the old version of Xcode. Then I downloaded it from the appStore. Then the download got stuck at 2.58 of 2.58 Gb. Then I quit the app store and relaunched it. This time I signed in with a different account. Suddenly the app went to "Installing" state a stuck there. Then I restarted the mac and when I reopened "Launchpa" There was a new Icon of Xcode and it works. I did this on my Mac mini with Mavericks. I copied the whole app folder onto my mac pro and it works with some minor errors. But I got Xcode/simulator up and running in the end. This is not a REAL solution, and I haven't found out why it worked. I just posted the solution because it maybe help someone, somehow... Thank you guys for your help. I combined all your solutions and in the end it worked a bit diffrently :)
Upvotes: 1
Reputation: 355
I'm not sure, but I think this is because you downloaded your current version of Xcode from online. Now that you try to update it as an app, it runs into some kind of problem. I have the exact same problem, and I fixed it by uninstalling and reinstalling Xcode from the app store. This worked for me.
Upvotes: 1
Reputation: 21
I the had the same problem yesterday. Here is what i did to solve it.
it worked for me.u can try it. Good luck!
Cheers,
Harshal
Upvotes: 1
Reputation: 28922
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 :)
Upvotes: 1