I'm currently developing an iOS keyboard extension. Debugging it worked well both on the simulator and on a real iPhone - until I updated to beta releases of iOS 9.2 and Xcode 7.2.
When executing the Run Scheme for the keyboard extension, it asks me which app to launch. I usually select the app that comes with the keyboard, Safari or Settings. The selected app then starts successfully, but as soon as I select a text field, Xcode tries to attach the debugger to the keyboard and fails with the following error:
Could not launch "my.keyboards.bundle.id"
unable to attach
In the simulator, however, it works without problem. Yesterday I updated to the release version of Xcode 7.2 and today iOS 9.2. I've already let iTunes "update & restore" my iPhone (after factory reset), done a factory reset (without restoring settings), restarted both Xcode and Mac OS, but still, the error persists.
Any ideas how to fix this?
MacBook Pro (15", 2008)
Xcode 7.2 (7C68)
Mac OS X 'El Capitan' 10.11.2
iPhone 5s
iOS 9.2 (13C75)