couldnt register with the bootstrap server

couldnt register with the bootstrap server  using -'ios,xcode,ios-simulator,bootstrapping'

I keep getting this error when launching my app on the iOS Simulator:

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.

I've read other reports of this error and it seems there is no obvious fix for it (restarting the iOS Simulator, restarting Xcode etc..)

At this point here's a list of things I've tried:

Restarting the Simulator
Restarting Xcode
Rebooting my machine
Deleting my app's Derived Data, and Cleaning
Deleting the iOS Simulator App Support directory
Reverting to a 2 weeks old version of the app (which was working 2 weeks ago)
Deleting the application in the Simulator (by clicking-holding on it and hitting the X button)
Upgrading Xcode form 4.1 to 4.2, and running the app both in iOS Simulator 4.3 and 5.0

Nothing worked, I still get the same bootstrap error.. Any (and at this point I really do mean ANY) suggestion would be appreciated.

Edit: Just wanted to add that the app runs fine on a device. I only get this error on the simulator...

asked Sep 15, 2015 by KarryAverath
0 votes

4 Answers

0 votes

As the GDB said:

This generally means that another instance of this process was already running or is hung in the debugger

So find out it and kill it. ;)
I restarted the mac, and it run successfully.

Tip: Well, this may be not work sometimes, so I strongly suggest that you press cmd+. to make sure that you do have stopped the simulator (or device). I find that in most cases the simulator (or device) will not stop exactly when it crashes. I rarely met this issue again with pressing the cmd+. every time it crashes or even just normal exit. Hope this will be helpful. :)

answered Sep 15, 2015 by KennyAnnandx
0 votes

I had to change my bundle identifier finally

No matter you reboot all devices and cleanup all , it gets stuck hard in the debugger..

don't know how to clear it..

answered Sep 15, 2015 by GarySoozkqne
0 votes

I had this error too and I noticed that it works for me if you close the simulator and stop the program and then change your company name.

I don't know why but it works for me.

answered Sep 15, 2015 by TeodoroMacfa
0 votes

As I experienced, device (or simulator) restart does solve the issue, BUT it would be better not to couse it.

Also my experience is that: You can find the place of crash by cousing it. In such time developers usually press "STOP the running scheme" this could cause zombie process stuck in device. BUT if you press "COUNTINUE program execution", debugger will terminate the process, it will not become a zombie.

answered Sep 15, 2015 by TangelaPeyto