Ios – Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger

iosios4ios5iphone

My project was running with out any problems. But suddenly it began to show crash with an error "Couldn't register com.yourcompany.iconnector with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger" in debug mode

I tried restarting system, simulator and xcode but still the issue exist. Any one please help

Thanks

Best Answer

I know your specific problem was with the simulator, but sometimes I get the same error when using a real device. It usually occurs when the debugger is attached and I build and run again.

To avoid the debugger hanging - when you set a breakpoint and the debugger pauses execution, make sure you continue execution before building and running again.

To solve the debugger hanging error, just restart the device and build and run again.

Related Topic