1

I have seen this similar question on SO in a few places but all of them are related to Simulator and old Xcode version. For examples, Error: unknown error code. this process was already running or is hung in the debugger and Error when testing on iOS simulator: Couldn't register with the bootstrap server

I have never seen this error before until I upgraded my Xcode to 4.4. It works fine on the simulator but not on an iPhone. I have also upgraded Xcode to 4.4.1 today but no luck. How to get rid of this error on an iPhone?

Couldn't register com.mycompany.myapp 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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139
  • possible duplicate of [iPhone - strange error when testing on simulator](http://stackoverflow.com/questions/788277/iphone-strange-error-when-testing-on-simulator) – Venk Jun 29 '13 at 13:33

4 Answers4

6

Restart both Xcode and iDevice.

Michael Myers
  • 188,989
  • 46
  • 291
  • 292
erkanyildiz
  • 13,044
  • 6
  • 50
  • 73
  • And remember not to set or remove any breakpoints during a debugging run - yeah I know right, because who would want to do that?! (Xcode 5.0) – iforce2d Jul 04 '14 at 17:07
0

Yes, if restarting xcode doesn't work, restart your MAC & restart your iPhone - it worked even in xCode 4.3. In xCode 4.4 it seems to happen less often.

user387184
  • 10,953
  • 12
  • 77
  • 147
0

My experience is that restarting is not required anymore with Xcode 4.4

Just close and restart. If the normal closing won't work press ctrl+alt+esc and exit xcode immediately.

Unfortunately there is no other way to prevent this (expect if you are hammering on run ;) )

arnoapp
  • 2,416
  • 4
  • 38
  • 70
0

See this post on fixing the bootstrap errors.

Kevin McMahon
  • 2,643
  • 25
  • 31