关于卸载:使用 –all 选项卸载 Xcode 是否会删除所有内容?

Does uninstalling Xcode with the --all option remove everything?

文档说:

To uninstall Xcode developer tools on the boot volume along with the directory, from
a Terminal window type:
$ sudo /Library/uninstall-devtools --mode=all

To remove the underlying developer content on the boot volume, but leave the
directory and supporting files untouched, from a Terminal window type:
$ sudo /Library/uninstall-devtools --mode=systemsupport

我的困惑是因为第一个选项没有提到任何关于删除"底层开发者内容"的内容。

第二个选项是第一个选项的子集吗?或者我是否需要同时运行两者才能从我的系统中完全删除所有 Xcode 痕迹?

这是"存储在 Xcode 目录或其他地方的基础开发人员内容吗?如果它在其他地方,听起来如果你安装了两个版本的 Xcode 就很难删除。


是的,第二个选项似乎是第一个选项的子集。我不是专家,但在过去的 48 小时里,我一直在玩自定义安装(几乎没有rest。)请记住,当您安装 xcode 时,它??会询问您是否要安装"系统支持"(或系统工具)和/还是"unix 工具"?好吧,您可以卸载其中任何一个或全部。

只需输入:
sudo /Developer/Library/uninstall-devtools --help