我可以在 Xcode 4 的 DeviceSupport 文件夹中删除以前版本的 iphone 支持吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5302789/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 20:29:51  来源:igfitidea点击:

Can I remove previous versions of iphone support in DeviceSupport folder in Xcode 4?

xcodeiossdkxcode4ios4

提问by ViggoV

In my quest to find out why Xcode is so big, i found out that a lot of the space is taken up by the subfolders to the Developer>Platforms>iPhoneOS.platform>DeviceSupport folder..

在我寻找 Xcode 为何如此之大的过程中,我发现很多空间都被开发人员>平台>iPhoneOS.platform>DeviceSupport 文件夹的子文件夹占用。

Since I am (apparently) only allowed to develop for the last of them in Xcode, can I safely remove the rest (in this case 3.0 to 4.2.1)?

由于我(显然)只允许在 Xcode 中为最后一个开发,我可以安全地删除其余的(在这种情况下是 3.0 到 4.2.1)吗?

Same question regarding the subfolders of Developer>Platforms>iPhoneSimulator.platform>Developer>SDKs..

关于 Developer>Platforms>iPhoneSimulator.platform>Developer>SDKs 子文件夹的相同问题。

回答by Ludovic Landry

Yes you can remove SKDs prior to 4.0 in Developer/Platforms/iPhoneOS.platform/DeviceSupportit's just old stuff.

是的,您可以在 4.0 之前删除 SKD,Developer/Platforms/iPhoneOS.platform/DeviceSupport因为它只是旧东西。

For the subfolders in Developer/Platforms/iPhoneSimulator.platform/Developerit's all the devices version that you will find in iOS Simulator in the menu Hardware>Device>Version. It can be sometimes usefull to keep them to test retrocompatibility (But remember that a test on a real device is still better). But if you want you can also remove these SKDs.

对于其中的子文件夹Developer/Platforms/iPhoneSimulator.platform/Developer,您可以在菜单硬件>设备>版本的 iOS 模拟器中找到所有设备版本。有时让它们测试逆向兼容性可能很有用(但请记住,在真实设备上进行测试仍然更好)。但如果您愿意,您也可以删除这些 SKD。