I am working on Call directory extension with callkit.
I selected Call directory extension for debug and when I run this target, no NSLog
is shown.
How can I debug this extension?
ps : When I run this extension, Debug -> Attach to process ->
no target is checked....
Just use the menu point one above "Attach to Process by PID or Name" and use the name of the Callkit extension.
jvc
Attaching the Xcode debugger to call kit extension is a little bit different from other extensions. When debugging it, although you see the extension "Waiting to attach" in debug navigator. Xcode doesn't attach it automatically like other extension! I am not sure if this is a Xcode bug.
So you have to attach the extension by yourself. I found there are 2 simple ways to do it,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With