Xcode Couldn’t Register with the bootstrap server

After trying Xcode Error Provisioning Profile Cannot Be Found After Deleting Expired Profile you might run into yet another problem with Mac where you are not able to install you app. It runs without any problems in simulator but crashs on the iPhone. It compiles without errors but crash and end in a pthread_kill error.

Couldn’t register com.company.app 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.(lldb)

Xcode Couldn't Register with the bootstrap server

You need to do two things which seems trivial and shouldn’t be nessesary but at least it works.

  1. Uninstall your app on the iPhone
  2. Restart the iPhone

You should be able to install your app on the phone again.

This is somewhat similar to the Failed qLaunchSuccess packet