Swift Playground and Simulator Error (ipc/mig) server died, Unable to boot the iOS Simulator

Robert E DelValle picture Robert E DelValle · Jun 4, 2014 · Viewed 8.5k times · Source

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

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

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

Unable to boot the iOS Simulator.

oh and this error just popped up

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?

Answer

tehprofessor picture tehprofessor · Jun 6, 2014

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

TCP out 127.0.0.1:63748

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

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

Note/Update:

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.