The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)

Xcode11运行模拟器报错:The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)。
可能是由于我同时保留了Xcode10.3和Xcode11,并且Xcode11不是通过Appstore升级安装的原因,导致模拟器出现问题。


The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)_第1张图片
模拟器无法启动

尝试clean工程、重启Xcode、重启模拟器,均宣告失败!

最后通过如下方法成功解决:

  1. 进入工程的模拟器编辑页


  2. 点击Add Additional Simulators
  3. 将无法启动的模拟器删掉,我这里删掉6s Plus


    The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)_第2张图片
  4. 点击左下角“+”号,重新创建6s Plus模拟器,点击create。


    The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)_第3张图片
  5. Run。

参考链接:

  1. https://forums.developer.apple.com/thread/82197
  2. Cannot run application on simulator after installing Xcode 11 - CFBundleVersion error

你可能感兴趣的:(The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died))