模拟器报错 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

清除后,重新运行

你可能感兴趣的:(模拟器报错 The device's data is no longer present at)