模拟器报错 The device's data is no longer present at

//删除Xcode目录下的模拟器文件夹后,运行报错:

The device's data is no longer present at /Users/Tom/Library/Developer/CoreSimulator/Devices/E2892FEA-8FEC-4638-A704-1260B5A79CB1/data.

Use the device manager in Xcode or the simctl command line tool to either delete the device properly or erase contents and settings.

解决方案: 退出模拟器,Xcode,打开iTerm:

输入:xcrun simctl erase all

清除后,重新运行

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