I’m having a serious problem with Push Notifications on the latest builds…
Basically, every time I call notifications.registerForPushNotifications() the app crashes on device and simulator.
No matter if I call the command at launch, after a few seconds or from a button… as soon as I call it, it crashes (without even entering the notificationListener).
I can confirm it’s happening at least from build 2594.
On previous builds (2585 for example) the push notification works correctly.
All the certificates and code are in order.
Here’s the device logs just after notifications.registerForPushNotifications
\<Error\>: task\_set\_exception\_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument) \<Notice\>: ReportCrash acting against PID 3667 \<Error\>: error evaluating process info - pid: 3667, punique: 3667 \<Notice\>: Formulating crash report for process devtest[3667] com.apple.xpc.launchd[1] (UIKitApplication:com.pxlartificer.destinypublicevents[0xcf93][3667]) \<Notice\>: Service exited due to signal: Segmentation fault: 11