Apple Healthkit and iOS7 deployment target

And*_*y M 10 iphone ios ios7 ios8 healthkit

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?

hyp*_*ypt 21

UIRequiredDeviceCapabilities键是用来说你的应用程序将只具有一定功能的工作(或者相反的没有它).如果您的应用需要HealthKit而不是支持它,则应该只设置此项.

  • 这是对的.令人遗憾的是,Xcode自动为healthkit包含该值,并且没有提供任何可选的指示. (7认同)
  • 是的确如此,我已经向Xcode提交了一个错误. (3认同)
  • 当添加HealthKit时部署是iOS 7时,它是否也这样做?如果是这样,这似乎是一个错误. (2认同)