Thank you. A conclusion to this topic is that I indeed had a crash in my application that only happened when it was launched in the background to receive the notification.
A helpful technique that I knew about, but didn’t recall immediately, is to build and run the app with Xcode, but in the scheme options, set the “Launch” option from “Automatically” to “Wait for the executable to be launched”. This way, I can run the app on the device where it will be launched when it receives a remote notification, and the Xcode debugger is attached to the app and can easily be used for debugging.
Topic:
App & System Services
SubTopic:
Notifications
Tags: