如何从 xip 文件安装 Xcode [英] How to install Xcode from xip file
问题描述
我对 macOS 非常陌生,我只需要一个带有 Xcode 的 mac 来编译我的应用程序.但是,使用 macOS Sierra 时,我的 USB 出现问题,无法再使用(我无法插入 ipad pro)
I am very new to macOS, I just need a mac with Xcode to compile my app. However, with macOS Sierra, I have a problem with my USB that is not working anymore (i can't plug my ipad pro)
在 OSX el capan 下,我的 USB 工作得很好,但现在的问题是应用商店让我下载只能在 Sierra 上运行的 Xcode 8.3(奇怪的是,他们让你下载与你的系统不兼容的东西,但不兼容)没关系,是苹果).所以我唯一的方法是手动下载 xcode 8.2.1
Under OSX el capitan my usb works great, but now the problem is that app store offer me to download the Xcode 8.3 only that can work only on Sierra (strange they offer you to download something not compatible with your system but doesn't matter, it's apple). so the only way i have is to download manually the xcode 8.2.1
现在我的问题是,如何安装我刚刚下载的 Xcode_8.2.1.xip?在不久的将来,如果我需要更新 xcode(我想为自己下载一个新版本),我该怎么办?首选项和配置设置也保存在哪里?每次更新都会丢失这些首选项吗?
Now my question, how to install the Xcode_8.2.1.xip I just downloaded? and in near future, if I need to update xcode (I guess downloading myself a new version), how will I do? Also where the preferences and configurations settings are saved? does these preferences will be lost on each update?
推荐答案
双击 xip
文件,它将提取 Xcode 应用程序.将 Xcode
移动到 Applications
文件夹,你就可以开始了.
Double-click the xip
file and it will extract the Xcode application. Move Xcode
to the Applications
folder and you are good to go.
一旦您更新到 Sierra (macOS 10.12),App Store 应该会显示 Xcode 更新.如果没有,您可以直接从 App Store 下载 Xcode.首选项存储在 /Users/
中,不受更新 Xcode 或 OS 版本的影响.
The App Store should present the Xcode update once you update to Sierra (macOS 10.12). If it doesn't you can download Xcode directly from the App Store. The preferences are stored in /Users/<username>/Library/Preferences
and are not impacted by updating the version of Xcode or OS.
这篇关于如何从 xip 文件安装 Xcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!