如何升级到 Xcode 4.5

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12682902/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 15:51:19  来源:igfitidea点击:

How to upgrade to Xcode 4.5

iosxcodeios6upgrade

提问by Victor Engel

Excuse my ignorance, but I've not done an Xcode upgrade before. I thought I'd simply go to apple, download the .dmg file, double click it, and voila! However, after doing this (the .dmg file is a 1.56GB file), if I run Xcode by clicking the icon at the bottom of the screen, when it loads, if I check the version, it still says 4.3.2. So obviously, I haven't done something needing to be done.

请原谅我的无知,但我之前没有进行过 Xcode 升级。我以为我只是去苹果,下载 .dmg 文件,双击它,瞧!但是,在执行此操作后(.dmg 文件是一个 1.56GB 的文件),如果我通过单击屏幕底部的图标运行 Xcode,当它加载时,如果我检查版本,它仍然显示 4.3.2。很明显,我没有做一些需要做的事情。

Also, I'm not duplicating the message anymore so I can't give an exact quote, but when launching Xcode I got a message that it didn't recognize the device. I presume this is my iPad, which was provisioned as a development device before I upgraded the iOS to version 6 on it.

此外,我不再复制该消息,因此我无法给出确切的报价,但是在启动 Xcode 时,我收到一条消息,指出它无法识别该设备。我想这是我的 iPad,在我将 iOS 升级到版本 6 之前,它被配置为开发设备。

Perhaps my question can be answered by simply pointing me to an appropriate document. The websites I'm finding all seem to be about problems after upgrading. I haven't got that far yet, I don't think.

也许我的问题可以通过简单地将我指向一个适当的文件来回答。我发现的网站似乎都是关于升级后的问题。我还没有那么远,我不认为。

回答by Jessedc

Download it from the App Store.

从 App Store 下载它。

回答by jwknz

If you have downloaded the DMG file, you will need to double click on it so it can mount the image file .In that dmg file there is the xcode file you need and copy that into your applications folder. If you already have a xcode app in there it will override it.

如果你已经下载了 DMG 文件,你需要双击它以便它可以挂载图像文件。在那个 dmg 文件中有你需要的 xcode 文件并将其复制到你的应用程序文件夹中。如果您已经有一个 xcode 应用程序,它将覆盖它。

Otherwise if you are not a developer, it is indeed easier to just download it from the app store. Good Luck:-)

否则,如果您不是开发人员,从应用商店下载它确实更容易。祝你好运:-)