Trouble downloading XCode 6.1 on Mac OS X Yosemite - xcode

after upgrading my Mac to Yosemite I've had trouble downloading XCode 6.1
Every time I tried I got an error saying:
This item is temporarily unavailable. Try again later.
I have tried again later, for a couple days, with no luck.
I have found this Apple forum post really helpful, but I did not want to download the third party tools.
I have solved the problem by searching for XCode:
sudo find / -name *XCode*
Which returned:
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/CachedSpecifications-xcodebuild
By renaming all of the com.apple.DeveloperTools folders/files above to aaacom.apple.DeveloperTools I have managed to get my App Store to download the new XCode.
What I wanted to ask was, has Yosemite changed the way that the Mac cache works?
I ask this because I noticed that some people had not managed to fix the issue by removing the usually recommended folder named com.apple.appstore. I can't say if this would/would not work since this is the first thing I tried so I'm asking if the Mac cache has changed, and if so in what way?
Edit 1:
I have only now noticed the really useful command that was posted by Elliott Slaughter in the same thread which is a slightly more general cache deletion than my command:
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/com.apple.appstore"
Where on my machine:
...$ echo $(getconf DARWIN_USER_CACHE_DIR)
/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/
Edit 2:
So my assumption is that deleting com.apple.appstore wouldn't work because XCode seems to be referenced in the com.apple.DeveloperTools folders. Am I right?

I was dealing with this same problem, but I have not yet updated to Yosemite (Still on Mavericks).
To be specific my problem was I started to download Xcode 6.1.1, and then paused it, or got disconnected for some reason (I don't remember), and then could not download the app for days. From that point forward I received the error message.
This item is temporarily unavailable. Try again later.
I followed the comment by Danilo Muñoz on the second page of the Apple form Post Nonsensickle posted.
Go to the "App Store" > "Store" > "Check for Unfinished Downloads ..."
This fixed the bug.
As for your question, It doesn't seem that Yosemite changed the way that the Mac cache works, because I seem to have had the same problem on Mavericks.

It might be network error You can download directly it with this links
Or you can download .dmg files directly without such errors
Xcode 6
Xcode 6.1 link
6.0.1 link
Xcode 5
5.1.1 link
5.0.2 link
Xcode 4
4.6.3 link
4.5.2 link
4.4.1 link
4.3.2 link

Related

Couldn't communicate with a helper application

I upgraded my OSX to macOS Big Sur version 11.1. Ever since I got this problem when trying to sign in in Xcode:
at the time I had an earlier version of xcode (12.2). I upgraded to Xcode 12.3 and the problem disappeared but then I came back up again. What can I do to fix this?
What I tried
rebooting in safe mode, didn't help
upgrading Xcode, solved the problem temporarily
tried to rebuild the dynamic link editor cache as suggested here but it was a dead end:
sudo update_dyld_shared_cache –force
This tool is deprecated.

Xcode 7.3.1 update stuck? is it downloading?

Trying to download Xcode 7.3.1 but download process is stuck for atleast 1 - 1/2 hour, is it stuck, is it going to complete? I have latest Mac OS installed
Tried solution provided on this link but non worked
XCode 7.3.1 Update Not Installing
It always happens to me (Well, not always but it happens, and also with another apps). What I do is to delete the Xcode app, and then install it again from the App Store or from the Developer's site.

Xcode failed to install

I am trying to install Xcode 4.2 on my Mac system having OS version 10.6.8.
Actually, I removed the Xcode from the system and tried to reinstall it.
I quit iTunes before installing it, and I have enough free space on disc (111 GB). Below is a screenshot of the error. What should I do?
Set your system time to 1st January 2012 or earlier (but not too early), as the certificate that signed the package has expired.
I had the same error message. In my case, it was solved by updating the OS software. There was an update waiting for "Apple installations software". After the update, Xcode installed perfectly well.
I found out I could download the installer directly from Apple instead of through the app store, and that the error described by the accepted answer could also be circumvented by installing the Mobile Development Framework manually.
See forum post Problems installing Xcode on Lion for more details.
I had the same trouble on Mac OS 10.8.5 when installing Xcode 4.4.1, Xcode 5.1.1, and Security_Update_2014-005. It turned out that the reason was the same in all these cases: an incompatibility with Vodafone/Huawei UMTS drivers. A workaround in this case is to temporarily move them away, e.g.
mv /System/Library/Extensions/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} ~
Then do the installation/update, and then restore those drivers, e.g.,
mv ~/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} /System/Library/Extensions/

XCode 4.2 not getting installed on my mac

I want to install XCode 4.2 on my mac. I have the dmg, but when I start the installation process, I get the file size as zero kb. Attaching the screen shot of the same:
Can anyone tell me what the problem might be???
The Mac version i am using is 10.7.2....
I have tried changing the install location, but it was of no use.
The installation process takes around 15 mins (although the size is zero kbas is in screen shot) and at the end, I am getting the message "Installation Completed"
EDIT:
For mac OSX version 10.7.2 (Mac OSx Lion), Do I need to download XCode 4.3. The dmg that I have got from one of my friend is titled "xcode_4.2_and_ios_5_sdk_beta_6_for_snow_leopard.dmg". Also, I have tried installing XCode 3.2.6 and it also is experiencing a similar problem.
what have you used for downloading?
The most of download managers downloads damaged files when Internet connection error was occured. The second type of managers stops downloading herein.
Don't use itunes if you can. I advice you to download xcode via torrents because they are protected from these downloading errors. Or at least try to download it via firefox because it stops the downloading instead of masking download erros.
I read the following in the Xcode Release Notes (developer account required) in the Apple developer documentation:
Installation
You can install Xcode 4.2 for Mac OS X v10.6 Snow Leopard only if you have purchased an earlier release of Xcode.
Install or update Xcode through the Purchases or Updates panes.
If you purchased Xcode from the Mac App Store, the Install Xcode app is on the volume on which you installed Xcode.
To install Xcode 4.2 on another volume, you must delete all copies of the Install Xcode app from your file system.
Maybe the first point explains your problem!?
I have downloaded the new dmg of XCode 4.2 from apple developer portal (developement tools). Its XCode_4.2_for_Lion. And it has got installed without any problem.

Can't update command line tools because Xcode tells me I don't have access to them

I'm using Xcode 4.3.2 and it tried to install an update to the command line tools.
I clicked the update button and Xcode told me that [my apple id] does not have access to Command Line Tools. (Contact Apple Developer Support to resolve account access issues.)
The problem happened with 4.3.1 too, I just did the update to 4.3.2 because I thought that it will resolve the issue.
My account is a paid Mac + iOS Developer account. I am pretty sure I should have access to these tools. But Xcode tells me I don't.
I logged in to the developer portal and checked for new Terms of Service too. Everything looks alright.
How can I install the update? Does anybody have a solution for this?
Yes its all over the Twitter... Just go to Apple Downloads and manually install it. They are investigating the issue as far as I know
Dominik Porada details the solution at Xcode 4.5 and iOS 5.1 Simulator, ie. download the old XCode 4.4.1 from Apple and pull out the simulation. Personally, I just copied the simulator from one of my other Macs that I hadn't upgraded XCode on yet.
Not sure if it's still relevant but xcode-select --install might do it.
I had the same problem last night after the update to Mountain Lion and Xcode 4.4.
This morning I tried to build something in xcode and it told me that developer mode wasn't enabled on the mac. Once I enabled it, I tried to download the command tools again and that happened to work fine now.

Resources