Xcode 无法安装在“Macintosh HD”上,因为 OS X 版本太新
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24792245/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode can’t be installed on “Macintosh HD” because the version of OS X is too new
提问by chrs
Xcode 6 beta's won't allow distribution. since may 2014 you have to use 5.1.1 to distribute apps. I only have xcode 5.1
Xcode 6 beta 不允许分发。自 2014 年 5 月以来,您必须使用 5.1.1 来分发应用程序。我只有 xcode 5.1
I am about to release an app and I am just wondering if I have to go back to osx 10.9 just to be able to update to xcode 5.1.1 so I can release apps again?
我即将发布一个应用程序,我只是想知道我是否必须回到 osx 10.9 才能更新到 xcode 5.1.1 以便我可以再次发布应用程序?
采纳答案by Jay Versluis
Sadly yes, you can currently (July 2014) only submit apps from Mountain Lion or Mavericks, using the latest App Store version of Xcode. Only the GM releases will be able to let you submit apps - at least that's how Apple have done it in the past.
遗憾的是,您目前(2014 年 7 月)只能使用最新的 App Store 版本的 Xcode 提交来自 Mountain Lion 或 Mavericks 的应用程序。只有 GM 版本才能让您提交应用程序 - 至少 Apple 过去是这样做的。
You cannot use beta versions of either OS X or Xcode to submit apps.
您不能使用 OS X 或 Xcode 的测试版来提交应用程序。
You can always install Mavericks and Xcode 5.1.1 on an external drive and use that version to submit. Gives you best of both worlds on the same hardware.
您始终可以在外部驱动器上安装 Mavericks 和 Xcode 5.1.1 并使用该版本提交。在同一硬件上为您提供两全其美的体验。
回答by tillz
This Postseems to work in some cases:
这篇文章似乎在某些情况下有效:
rm ~/Library/Preferences/com.apple.appstore.plist
rm -r ~/Library/Saved\ Application\ State/com.apple.appstore.savedState
rm -r ~/Library/Caches/com.apple.appstore
rm -r /private/var/folders/*/*/*/com.apple.appstore
If it doesn't work, you could simply set up a Virtual Machine with 10.9 Guest. (Of course, only on a OSX host without any further Hacks)
如果它不起作用,您可以简单地设置一个带有 10.9 来宾的虚拟机。(当然,仅在没有任何进一步黑客攻击的 OSX 主机上)