简体   繁体   English

卸载以前的XCode并安装XCode 4.5

[英]Uninstall Previous XCode and Install XCode 4.5

Is it safe to completely uninstall previous version of XCode and Install the XCode 4.5? 完全卸载以前版本的XCode并安装XCode 4.5是否安全? because... 因为...

I just uninstalled XCode 4.2, and it mostly removed all the files in the Developer Folder, now I installed the 4.5, but it scares me since there is nothing in the Developer Folder. 我刚刚卸载了XCode 4.2,并且它基本上删除了Developer Folder中的所有文件,现在我安装了4.5,但是这吓到我了,因为Developer Folder中没有任何内容。 Would XCode still be working even if that's the case? 即使是这种情况,XCode仍然可以正常工作吗? Thanks 谢谢

Xcode 4.4+ was designed to be installed via the App Store and now stores everything in the Xcode.app bundle in your /Applications directory. Xcode 4.4+旨在通过App Store安装,现在将所有内容存储在/ Applications目录中的Xcode.app捆绑包中。

Make sure you use xcode-select to select the new path for your Xcode installation, and you install the command line tools from within Xcode 4.5. 确保使用xcode-select选择Xcode安装的新路径,并从Xcode 4.5中安装命令行工具。

From the Xcode 4.5 release notes : Xcode 4.5发行说明

Starting in Xcode 4.3, the Xcode.app file package contains all the Xcode developer tools. 从Xcode 4.3开始,Xcode.app文件包包含所有Xcode开发人员工具。 The man pages for the command-line tools Xcode uses are also placed in this package. Xcode使用的命令行工具的手册页也放置在此软件包中。

yes It's totally safe to completely uninstall the previous Xcode and install new Xcode4.5. 是完全卸载以前的Xcode并安装新的Xcode4.5是完全安全的。 I have done it and all works fine for me. 我已经做到了,一切对我都很好。

Just have to install the command line tools after installing the Xcode4.5 from it's preference just as show in below image :) 只需根据喜好安装Xcode4.5后,必须安装命令行工具,如下图所示:)

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM