无法在Mac OS X Yosemite上下载XCode 6.1 [英] Trouble downloading XCode 6.1 on Mac OS X Yosemite

查看:87
本文介绍了无法在Mac OS X Yosemite上下载XCode 6.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将Mac升级到优胜美地后,我无法下载XCode 6.1

每次尝试时,我都会出错:

This item is temporarily unavailable. Try again later.

几天以后,我再试一次,没有运气.

我发现此Apple论坛帖子确实很有帮助,但我不想下载第三方工具./p>

我已经通过搜索XCode解决了这个问题:

sudo find / -name *XCode*

哪个返回:

/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

通过将上述所有com.apple.DeveloperTools文件夹/文件重命名为aaacom.apple.DeveloperTools,我设法让我的App Store下载了新的XCode.

我想问的是,优胜美地是否改变了Mac缓存的工作方式?

之所以这样问,是因为我注意到有些人没有设法通过删除通常建议使用的名为com.apple.appstore的文件夹来解决此问题.我不能说这是否行得通,因为这是我尝试的第一件事,所以我问Mac缓存是否已更改,以及是否以什么方式更改了?

我现在才注意到Elliott Slaughter 在同一线程中发布的真正有用的命令,比我的命令更通用的缓存删除:

rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/com.apple.appstore"

我的机器上的位置:

...$ echo $(getconf DARWIN_USER_CACHE_DIR)
/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/

所以我的假设是删除com.apple.appstore将不起作用,因为XCode似乎在com.apple.DeveloperTools文件夹中被引用.我说的对吗?

解决方案

我正在处理同样的问题,但是我尚未更新到优胜美地(仍然在小牛上).

具体来说,我的问题是我开始下载Xcode 6.1.1,然后暂停它,或者由于某种原因(我不记得了)而断开连接,然后几天无法下载该应用程序.从那时起,我收到了错误消息.

该项目暂时不可用.请稍后重试.

我跟随达尼洛·穆尼兹(DaniloMuñoz)在表格.

转到应用商店">商店">检查未完成的下载..."

此漏洞已修复.

关于您的问题,优胜美地似乎并没有改变Mac缓存的工作方式,因为我似乎在Mavericks上也遇到了同样的问题.

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.

这篇关于无法在Mac OS X Yosemite上下载XCode 6.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆