Error Alert Message: com.apple.CoreSimulator.SimRuntime.iOS-12-2 simulator runtime is not available.
- 杀死所有模拟器进程
$ sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
- 设置正确的XCode路径
$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
- 如果还不行,重置所有模拟器
$ xcrun simctl erase all
网友评论