Swift Playground and Simulator Error (ipc/mig) 服务器死机,无法启动 iOS 模拟器 [英] Swift Playground and Simulator Error (ipc/mig) server died, Unable to boot the iOS Simulator

查看:28
本文介绍了Swift Playground and Simulator Error (ipc/mig) 服务器死机,无法启动 iOS 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 Playground 中执行任何操作时,我什至在输入一个单词之前都会弹出这个提示.

When I try to do anything in Playground, this pops up before I even finish typing a word.

运行操场时出错.无法为 Playground 启动 iOS 存根:操作无法完成.(Mach 错误 -308 - (ipc/mig) 服务器死机).

Error running playground. Failed to launch iOS stub for playground: The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died).

当我尝试运行 IOS Simulator 时,出现以下错误

and when I just try to run IOS Simulator I get the following error

无法启动 iOS 模拟器.

Unable to boot the iOS Simulator.

哦,这个错误刚刚弹出

运行时遇到错误 (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)

An error was encountered while running (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)

我尝试重新启动,关闭并再次打开,取消选择文件并重新选择.只是不断发生.有人有解决办法吗?

I tried rebooting, I closed out and opened again, I deselected file and reselected. Just keeps happening. Anyone have a solution?

推荐答案

您的防火墙阻止了调试器,您需要允许它连接:

Your firewall is blocking the debugger, you need to allow it to connect:

TCP 输出 127.0.0.1:63748

或允许 debugserver 进程开放访问(无论您或您的防火墙喜欢哪个).

Or allow the debugserver process open access (whichever you, or your firewall, prefer(s)).

启用它并重新启动 Xcode 后,一切都应该像魅力一样工作.

Upon enabling it, and restarting Xcode everything should work like a charm.

注意/更新:

如果您在查找或允许 debugserver 时遇到问题,只需尝试暂时禁用防火墙并重新启动 xcode.操场好用吗?哦,别忘了确保您已打开助手视图并显示输出框.

If you're having trouble finding, or allowing, the debugserver simply try, temporarily, disabling your firewall and restart xcode. Does the playground work? Oh, and don't forget to make sure you've got the assistant view open and the output box showing.

这篇关于Swift Playground and Simulator Error (ipc/mig) 服务器死机,无法启动 iOS 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆