Push Notifications in Xcode 11.5 Simulator

I'm using the new remote push notifications testing feature in Xcode 11.5 (11E608c).

I expect to see AppDelegate.application(_:didFinishLaunchingWithOptions:) hit with the .remoteNotificiation launch option when my app is launched but launchOptions is nil. Is this a bug?

If I send a push notification directly to a test device I do see this launch option specified in didFinishLaunching.


On device testing is the guaranteed way to test remote notifications and using the new-ish Xcode ability to test a notification with the simulator is helpful as you can see but may not be as complete as on device testing.







Push Notifications in Xcode 11.5 Simulator
 
 
Q