Xcode error: “failed to send the qLaunchSuccess packet”

If you get this error in Xcode when starting an app on a device, be sure to check your schemes. You’re likely running a release build with a distribution profile when you’re really intended to run a debug build with a development profile.