我无法在UNNotificationServiceExtension中使用调试器.
这是我在尝试将调试器附加到UNNotificationServiceExtension时所做的事情:
- 运行应用程序
- 在"Testing"UNNotificationServiceExtension中设置断点
- 选择Debug> Attach to Process by PID或Name>选择"Testing"UNNotificationServiceExtension
- XCode表示"测试正在等待附加"

- 然后我发送推送通知,我的iPhone显示通知,但调试器没有达到断点.相反,XCode显示"Thread1:signal SIGKILL".

有谁知道如何使调试器在UNNotificationServiceExtension中工作?