那么通过hardware业务无法找回模拟器,则那可以通过方法1无法恢复,则尝试方法2即可
方法1:
打开Xcode -> Open Developer Tool -> iOS simulatorHardware -> Device -> Manage Devices
方法2:
To get back to a vanilla state, quit Xcode, Simulator, Instruments, and any other CoreSimulator clients that you have and run:
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService 2> /dev/null
rm -rf ~/Library/*/CoreSimulator
网友评论