Is the UIRequiredDeviceCapabilities equivalent for the Mac App Store?

I am developing a Mac application that is only useful for laptop owners (MacBooks) and plans to distribute this application on the Mac App Store. For the iOS App Store, you can specify in the plist UIRequiredDeviceCapabilities so that only users with the appropriate device can see the application in the store. Is there a way to do the same with the Mac App Store?

+5
source share
2 answers

From page 39 iTunes Connect Developer's Guide :

If your iOS application requires a specific device capability (i.e., telephony, GPS, accelerometer, etc.) for proper operation, you will need to code this in the info.plist of your binary file using the UIRequiredDeviceCapabilities key. See Build time. Configuration Information section of the iOS Application Programming Guide for more information. At run time, iOS cannot launch your application if the declared features are not present on the device. In the future, the App Store requires this information so that it can generate a list of requirements for user devices and downloading applications that they cannot run. There is no need to specify the necessary device capabilities for Mac OS X applications.

+1
source

Although there is no equivalent to UIRequiredDeviceCapabilities , some features may be specified in PreInstallRequirements.plist . This approach allows you to specify the minimum amount of RAM, the capabilities of the graphics processor, the minimum minvers.

View here:

Mac App Store

https://developer.apple.com/library/archive/qa/qa1748/_index.html#//apple_ref/doc/uid/DTS40011181

https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html

0
source

Source: https://habr.com/ru/post/1392069/


All Articles