如何卸载除 iPhone 模拟器之外的 Apple 开发者工具?
我安装了开发人员工具,但最终我并不真正需要它们,而且它占用了我的小硬盘驱动器上的大量空间。不过,我发现 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于垃圾的特殊性质,您应该能够相当安全地进行实验。尝试将整个 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?