ios - iOS 7.1 支持应用程序的 Apple Health 功能

标签 ios objective-c iphone healthkit

我的应用程序有一个 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 中的 UIRequiredDeviceCapability 数组中删除 healthkit,并将部署 SDK 设置为 iOS 7.1。

关于ios - iOS 7.1 支持应用程序的 Apple Health 功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34081060/

相关文章:

iOS:存储和触发回调 block

objective-c - iOS : transitionFromView - label in 'toView' not displayed

objective-c - 如何正确深拷贝多维NSMutableArray?

iphone - 播放 png 序列

ios - 如何使用 AFNetworking 检查主机(服务器)在 iOS 中是否可用

iOS SecKeyRef(公钥)发送到服务器

ios - 类型 'MenuItem' 不符合协议(protocol) 'Decodable'

ios - 如何找到哪个 textField 加载了 TableView

iphone - UIView 性能 : opaque, backgroundColor,clearsContextBeforeDrawing?

iphone - 使用 UICollectionViewFlowLayout 在 UICollectionView 的第一项上进行左填充