iTunes lookup supported devices does not match model names

Originator:pierrenicolasr
Number:rdar://34811805 Date Originated:04-Oct-2017 05:04 PM
Status:Open Resolved:
Product:Other Product Version:N/A
Classification:Enhancement Reproducible:Always
 
Summary:
We are an MDM vendor and we would like to make sure we don’t install apps on devices which are not supported anymore by the app vendor.
The problem is that iTunes lookup (itunes.apple.com/lookup?id=xxxx) is returning commercial names like “iPadAir2-iPadAir2”, while MDM DeviceInformation returns internal model names, like “iPad5,3”.
While we could obviously build a mapping and rely on it, it’s not ideal as we have to update this mapping manually and for every new released device.


Steps to Reproduce:
curl itunes.apple.com/lookup?id=507874739



Expected Results:
something like supportedModels list of internal model names and not commercial names.

Actual Results:
"supportedDevices":["iPhone5s-iPhone5s", "iPadAir-iPadAir", "iPadAirCellular-iPadAirCellular", "iPadMiniRetina-iPadMiniRetina", "iPadMiniRetinaCellular-iPadMiniRetinaCellular", "iPhone6-iPhone6", "iPhone6Plus-iPhone6Plus", "iPadAir2-iPadAir2", "iPadAir2Cellular-iPadAir2Cellular", "iPadMini3-iPadMini3", "iPadMini3Cellular-iPadMini3Cellular", "iPodTouchSixthGen-iPodTouchSixthGen", "iPhone6s-iPhone6s", "iPhone6sPlus-iPhone6sPlus", "iPadMini4-iPadMini4", "iPadMini4Cellular-iPadMini4Cellular", "iPadPro-iPadPro", "iPadProCellular-iPadProCellular", "iPadPro97-iPadPro97", "iPadPro97Cellular-iPadPro97Cellular", "iPhoneSE-iPhoneSE", "iPhone7-iPhone7", "iPhone7Plus-iPhone7Plus", "iPad611-iPad611", "iPad612-iPad612", "iPad71-iPad71", "iPad72-iPad72", "iPad73-iPad73", "iPad74-iPad74"],

Version:
N/A

Notes:

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!