iOS 7.1 支持应用的 Apple Health 功能

Apple Health feature for iOS 7.1 support app

在我的应用程序中有一个 Apple Health 功能,它是可选的,并且只有在 iOS 8.0 及更高版本上 运行 时才有效。但我想支持 iOS 7.1,Apple Health 功能在这些设备上无法使用。 我可以创建 ipa 文件并发送到 Itunes Connect,但它显示错误:

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

如何让它支持iOS 7.1 最低?我看到一些来自 Azumio 和 Runstatics 的应用程序,它支持 iOS 7.1 并且支持 iOS 8.0 及更高版本的 Apple Health。

您需要从应用 Info.plist 的 UIRequiredDeviceCapabilities 数组中删除 healthkit 并将部署 SDK 设置为 iOS 7.1.