There is no way to limit app install to only devices which support Metal Shaders Language

Originator:mayur.joshi
Number:rdar://31805344 Date Originated:25 April 2017
Status:Open Resolved:
Product: Product Version:
Classification: Reproducible:Yes
 
If there is any app primarily based on Metal Performance Shaders framework, it would run properly on all the devices ranging from iPhone 6 and later. But this framework isn't supported on iPhone5S since it uses processor A7. As a result, the app would be meaningless if it ran on 5s. Also, devices like iPad mini 2, iPad mini 3 and iPad Air 1 do have metal but do not support Metal Performance Shaders.

So I want to restrict App Store availability in such a way that app is available only for devices iPhone 6 and above, i.e Processor A8 or later as there is no point in getting the app installed on non-supported devices.

I found a way to restrict devices iPhone 5 and below using the key UIRequiredDeviceCapabilities in Info.plist but couldn't find any key where I could differentiate iPhone 5s with other latest devices.

Steps to Reproduce:
1. Add code integrated with Metal Performance Shaders Framework
2. Run the project on a iPhone5S/iPad Mini2 or Mini3/iPad Air

Expected Results:
Ideally UIRequiredDeviceCapabilities should include a key so that it is not allowed to install the app on non-supported devices.

Actual Results:
The app runs on the non-supported devices and it gives a warning saying Metal Performance Shaders not supported on this device

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!