我可以从 iOS DeviceSupport 目录中删除数据吗? [英] Can I delete data from the iOS DeviceSupport directory?

查看:49
本文介绍了我可以从 iOS DeviceSupport 目录中删除数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在用不再需要的旧东西清理我的磁盘后,我遇到了 ~/Library/Developer/Xcode 中的 iOS DeviceSupport 文件夹这占用了近 20 GB.

After going through and cleaning my disk with old things that I didn't need anymore, I came across the iOS DeviceSupport folder in ~/Library/Developer/Xcode which was taking nearly 20 GB.

一个类似的问题 之前有人问过,但从那以后很多事情都发生了变化,我想要一个最新的答案.

A similar question has been asked before, but since then many things have changed and I would like an up-to-date answer.

只要我有用于测试的版本,我可以删除旧的/未使用的版本而不破坏任何东西吗?

As long as I have the version I use for testing, can I delete the older/unused versions without breaking anything?

推荐答案

~/Library/Developer/Xcode/iOS DeviceSupport 文件夹基本上只需要符号化崩溃日志.

The ~/Library/Developer/Xcode/iOS DeviceSupport folder is basically only needed to symbolicate crash logs.

您可以完全清除整个文件夹.当然,下次您连接其中一台设备时,Xcode 会从该设备重新下载符号数据.

You could completely purge the entire folder. Of course the next time you connect one of your devices, Xcode would redownload the symbol data from the device.

我一年左右清理一次该文件夹,方法是删除 iOS 版本的文件夹,我不再支持或希望永远不必为其符号化崩溃日志.

I clean out that folder once a year or so by deleting folders for versions of iOS I no longer support or expect to ever have to symbolicate a crash log for.

这篇关于我可以从 iOS DeviceSupport 目录中删除数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆