Guys, who can explain what the rights used and how to eliminate? I integrated the application with healthkit , from the application I healthkit only exercise time and calories, healthkit don’t accept any data from healthkit to the application. enter image description here

enter image description here

    1 answer 1

    You need to add a key (this will be an array) UIRequiredDeviceCapabilities with the element UIRequiredDeviceCapabilities in the UIRequiredDeviceCapabilities (or in the settings of the tab on the Info tab). This will allow you to install the program only on devices that support healthkit .

    PS: the correct answer is that in the update of an existing application it is impossible to limit families or any models of devices that were supported before. You need to either register a new application or check for the presence of classes and methods from code.

    • And where is the key to take? can you give an example? - Artur Skachkov
    • the key is a string (as for NSDictionary), you can copy it from my answer. You can take the values ​​here - developer.apple.com/library/ios/documentation/General/Reference/ ... And it should work out this way - blog.manbolo.com/2012/05/02/armv7.png - Valentine
    • And I already have everything turned out to be a gun ... The screen added to the question. What then? - Artur Skachkov
    • so, and this is what you are doing the update of the past application? Then you have to register a new application - in new versions you cannot limit families or any models of devices. - Valentine
    • Those. In general, to release a new application, and throw an old one? or I misunderstood? - Artur Skachkov