xcode 模拟器太多选择使用

作者: 1ace156a39cd | 来源:发表于2018-05-30 11:16 被阅读259次

广告

欢迎大家一起交流 QQ群 139852091 公众号

我是jpg

xcode模拟器版本太多了,选择个iphone x 都不好选择


image.png

解决办法

前往路径/用户/电脑名/Liqibrary/Developer/CoreSimulator/Devices/CoreSimulator/Devices
存放模拟器的位置 如下

image.png

找到最后device_set.plist

先保存一份,方便以后更改回来使用(我是存放在上一级目录下,不怕丢失)


image.png

文件 Xcode打开


image.png 删除暂时不用的模拟器 image.png

我只留了一个 iOS 11.3的


image.png

重启后生效

方法二

模拟器选中 Add Addiyional Simulators...

image.png

删除(只可以一个一个的删除)


image.png

我是全部删除后 再添加的 添加方式如下:


image.png

方法三

1.Command+Q退出Xcode和模拟器

2.打开终端(Terminal)输入以下两行命令
s.do killall -9 com.apple.CoreSimulator.CoreSimulatorService
rm -rf ~/Library/Developer/CoreSimulator/Devices

3.重新打开Xcode

方法四

前往文件夹
/Library/Developer/CoreSimulator/Profiles/Runtimes/

image.png
不要的全部删掉

相关文章

网友评论

本文标题:xcode 模拟器太多选择使用

本文链接:https://www.haomeiwen.com/subject/xpiorftx.html