如何卸载除 iPhone 模拟器之外的 Apple 开发者工具?

发布于 2024-10-06 12:38:27 字数 134 浏览 0 评论 0原文

我安装了开发人员工具,但最终我并不真正需要它们,而且它占用了我的小硬盘驱动器上的大量空间。不过,我发现 iPhone 模拟器对于移动 Web 开发非常有用。我到底需要在 Mac 上保留什么才能让 iPhone 模拟器继续运行?我很难弄清楚它到底需要什么。

I installed the Developer Tools and it ends up I don't really need them and it takes up a lot of room on my small hard drive. However I find the iPhone simulator extremely useful for mobile web development. What exactly do I need to keep on my Mac for the iPhone simulator to continue to run? I'm having a hard time figuring out exactly what it needs.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

千寻… 2024-10-13 12:38:27

由于垃圾的特殊性质,您应该能够相当安全地进行实验。尝试将整个 Developer 目录移至废纸篓,然后仅将 /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications 移回原位。如果它没有运行,请尝试留下更多的东西......

这会忽略安装到您的系统中的各种挂钩,执行“/Developer/Library/uninstall-devtools”脚本删除的挂钩。也许您应该首先将整个 /Developer 文件夹复制到某处,然后进行正式卸载,然后尝试恢复该应用程序目录。

事实上,首先克隆整个驱动器。我希望您正在尝试节省空间,因为您已转移到小型 SSD,因此您可能还有其他存储能够容纳所有内容?

Due to the special nature of the Trash, you should be able to experiment fairly safely. Try moving the whole Developer directory to Trash then moving just /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications back into place. If it doesn't run, try leaving more alone...

This ignores the various hooks installation has into your system, the ones that executing "/Developer/Library/uninstall-devtools" script removes. Maybe you should copy the entire /Developer folder somewhere first, then do the official uninstall, then try just restoring that Applications directory.

In fact clone your whole drive first. I'm hoping you are trying to save space because you have moved to a small SSD so you probably have some other storage capable of holding it all?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文