Best explanation I have for this one is that it’s caused by using an Adhoc provisioning profile to launch a build from XCode. The Adhoc profile is seen as a distribution build so Apple won’t allow you to debug it directly.

You are still able to send the build to the device and launch on the device, but XCode won’t play nicely with it.