Xcode 7.2 debugger fails to attach to iPhone

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)

I have the same problem here. Suddently the debugging both with simulator or hardware-deveices stopped working. Xcode is unnable to attach to the debugger.


iOS:

9.3.2 (iPhone 5 and iPhone 6s plus)


Xcode:

7.3.1 (7D1014)


I am quite a little bit of desparate right now, because it's hard to progress development without having the debugger and the logging-console ready.

Hm, ok. And now it's working suddently again (After some reboots etc).


One thing I noticed... I do not get the output of the compiler in the debugger-console, just like "App compiled successful and started etc...". It just stays white, but in the end I can make NSLog output visible there. Maybe this was also part of my confusion. Debugger is also working again.

Xcode 7.2 debugger fails to attach to iPhone
 
 
Q