Xcode12 占用空间过大的解决方法

16010157023358.jpg

Xcode12 硬盘占用空间 28G ,装完之后,让本不富裕的硬盘空间雪上加霜。

是啥占用了这么多空间?激发了我的好奇心。

打开 GrandPerspective 跑了一下。得出如下结果:

image.png

三个占用空间最大的文件分别是:

第一名:iOS.simruntime  9.76 GB
第二名:tvOS.simruntime 5.39 GB
第三名:watchOS.simruntime 6.83 GB

iOS.simruntime日常使用删不得,tvOS.simruntimewatchOS.simruntime ,大部分开发者接触不到,可直接删除

文件路径:

Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/watchOS.simruntime

Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS.simruntime

enjoy~

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。