1

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

Kiron
  • 278
  • 5
  • 18

3 Answers3

4

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.

Joony
  • 4,498
  • 2
  • 30
  • 39
3

See this question and answer thread, it has a lot of info on the matter.

Also, try a 'Reset Content and Settings' for the Simulator.

Community
  • 1
  • 1
Madhu
  • 2,429
  • 16
  • 31
  • Thanks Madumal it is solved. But is there any way for not happening again – Kiron Mar 16 '12 at 09:15
  • I dont think there's any of of ensuring that'll never happen buddy, it seems to be a sort of bug in XCode and the Simulator mostly. But, everytime it happened to me, a quick Reset of the Simulator, Clean and Build from XCode and at worst a a Mac restart usually fixes the problem. – Madhu Mar 16 '12 at 09:18
  • No problemo. Glad to be of help :) – Madhu Mar 16 '12 at 09:20
-4

Whenever you have a problem like unknown error code or "Couldn't register com.yourcompany.iconnector with the bootstrap server.

Restart your system it will be resolved.

Toon Krijthe
  • 52,876
  • 38
  • 145
  • 202