Search code examples
iosiphoneios7ios8healthkit

Apple Healthkit and iOS 7 deployment target


When trying to submit an app through Xcode or Application loader, with the "healthkit" entitlement enabled and a deployment target of 7.0, the app store gives the following error:

ERROR ITMS-9000: This bundle is invalid. The key UIRequiredDeviceCapabilities contains value 'healthkit' which is incompatible with the MinimumOSVersion value of '7.0'.

The confusing thing is, both Strava and UP have HealthKit enabled and iOS7 deployment targets. So it is technically possible to submit an app with these requirements.

Can someone please let me know how this is possible, so I can have HealthKit and not lose out on half of the current iOS marketshare?


Solution

  • The UIRequiredDeviceCapabilities key is used to say that your app will only work with a certain feature (or inversely without it). You should only set this if your app requires HealthKit as opposed to supporting it.