方案如下:
首先退出Xcode并且关闭模拟器:
然后在终端(Terminal)输入如下2行命令:
1、sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
2、rm -rf ~/Library/Developer/CoreSimulator/Devices
重启Xcode
Bingo!
方案如下:
首先退出Xcode并且关闭模拟器:
然后在终端(Terminal)输入如下2行命令:
1、sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
2、rm -rf ~/Library/Developer/CoreSimulator/Devices
重启Xcode
Bingo!