OSUpdateStatus returns integer '0' instead of boolean "true/false" for 'IsDownloaded' key

Originator:frank
Number:rdar://45414737 Date Originated:October 19 2018
Status:Open Resolved:
Product:iOS + SDK Product Version:
Classification:MDM Reproducible:
 
Area:
MDM

Summary:
For devices in 11.3, OSUpdateStatus command returns integer 0 or 1 instead of the documented boolean "true/false" for the "IsDownloaded" key

Steps to Reproduce:
- iOS device on 11.3 with new update downloaded. (either by ScheduleOSUpdate, or automatically).
- Send MDM command OSUpdateStatus. 

Expected Results:
OSUpdateStatus "IsDownloaded" key returns integer values 0 or 1

Actual Results:
OSUpdateStatus "IsDownloaded" key returns documented boolean "true/"false"
Bug is undocumented in MDM documentation. 

Version/Build:
11.3

While it's been presumably fixed in future versions, this bug is NOT documented in the MDM Protocol Reference. Any device currently on that version responds incorrectly to MDM management when trying to upgrade. Please document this bug, and provide guidance to vendors on how to handle it.

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!