- 删除文件
- 补救措施
以下方法只针对iOS开发者使用的电脑
今天看到系统所占内存居然高达180G,整个人都是懵逼的。废话不多说,开始操作。
前往+option键 -> 资源库 -> Developer
清空一下文件夹
CoreSimulator -> Devices
Xcode - > Archives
Xcode - > DerivedData
Xcode - > iOS DeviceSupport
可用内存一下子从40G飚到了110G,打开
Xcode
模拟器提示错误:Use the device manager in Xcode or the simctl command line tool to either delete the device properly or erase contents and settings.
Xcode
提示这个错误
查阅了下网上的方法都是说要重新添加模拟器
1.第一步
image.png
2.第二步
image.png
注意: 先删掉以前残留的名称,然后重新如第二步,添加即可。
网友评论