`content-available` pushes not received by application

Originator:kevin
Number:rdar://28029254 Date Originated:2016-08-26
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 8 Beta 6 (8S201h)
Classification:Serious Bug Reproducible:Always
 
Summary:
Using Xcode 8 Beta 6 (8S201h) `content-available` push notifications are not being received by the application.

This is a regression from Xcode 8 Beta 5 (8S193k).

Steps to Reproduce:
1. Build and run an application that has `Background Modes` - `Remote notifications` enabled.
2. Send a `content-available` push notification to the device.


Expected Results:
The `UIApplicationDelegate` method, `application(_:didReceiveRemoteNotification:fetchCompletionHandler:)` should be invoked.

Actual Results:
The `UIApplicationDelegate` method, `application(_:didReceiveRemoteNotification:fetchCompletionHandler:)` is *not* invoked.

Version:
Xcode 8 Beta 6 (8S193k)
OSX El Capitan 10.11.6 

Notes:
Sample application attached. Enabled for Xcode 8 Beta 6.
Code for Xcode 8 Beta 5 commented out.

Configuration:
iPhone 6s
iOS 10.0 (14A5345a)

Attachments:
'DeviceTokenTest.zip' was successfully uploaded.

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!