Posts

Post not yet marked as solved
0 Replies
303 Views
I have a critical alert entitlement for my app. My profile has been updated and the critical alert implemented. Everything works fine. User gets the request for critical alert. Alert works as it is supposed to wrt do not disturb. When I try to debug, if I turn on an exception breakpoint, I get stopped by a C++ exception when I go to request authorization just by creating a UNAuthorizationOptions such as below. let options: UNAuthorizationOptions = [.alert, .sound, .criticalAlert] The app continues and the exception is non-fatal, it is just annoying when trying to debug. Any suggestions? (Also. I do all my coding in Swift, so not sure how to get the description of the exception out of lldb)
Posted
by gmarchant.
Last updated
.