Swift Playground和模拟器错误(ipc / mig)服务器死机,无法启动iOS模拟器 [英] Swift Playground and Simulator Error (ipc/mig) server died, Unable to boot the iOS Simulator
问题描述
当我尝试在Playground中做任何事情时,在我完成输入一个单词之前就弹出。
When I try to do anything in Playground, this pops up before I even finish typing a word.
运行playground时出错。
无法为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模拟器我得到以下错误
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 out 127.0.0.1:63748
c $ c> debugserver 进程打开访问(无论您或您的防火墙,更喜欢)。
Or allow the debugserver
process open access (whichever you, or your firewall, prefer(s)).
启用它并重新启动
注意/更新:
如果您在查找时遇到问题,或允许, 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和模拟器错误(ipc / mig)服务器死机,无法启动iOS模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!