UNNotificationRequest will cause device to respring

Originator:twealm
Number:rdar://28610058 Date Originated:04-Oct-2016 07:04 PM
Status:Duplicate/28584514 Resolved:
Product:iOS SDK Product Version:iOS 10.0.2
Classification:Crash Reproducible:Always
 
Summary:
If you create UNNotificationRequest with identifier @"", and schedule it, then when this notification will be fired, device will resprign itself. On one occasion notification with UNCalendarNotificationTrigger made my iPhone completely unresponsive - it stuck in respring cycle, so I had to restore it =/.

Steps to Reproduce:
Run attached project and press "Boom!" button

Expected Results:
Anything except crash would be nice

Actual Results:
App crashes, device "reboots" UI.

Version:
iOS 10.0.2

Notes:
If this is intended behaviour it would be nice to mention this in docs.

Configuration:
iPhone 6S, any iOS 10 simulator in Xcode.

Sample code: https://github.com/twealm/rdar-28610058

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!