简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM