带有 HealthKit 的通用 iOS 应用未出现在 iPad App Store 中

Universal iOS app with HealthKit not showing up in iPad App Store

我们有一个使用 healthkit 的 iOS 应用程序,但我们为我们的 iPad 应用程序优雅地处理了它的所有情况。提交成功后,我们无法直接在 iPad 上从 App Store 下载它,但我们可以通过 iTunes 下载。我们需要做些什么才能让它也出现在 iPad 的 App Store 上吗?

您的 plist 是否包含 healthkit 所需的设备功能?如果是这样,我猜它不会出现在商店的 iPad 上,因为该设备不符合要求。通过iTunes下载不会根据要求过滤掉应用程序。

解决方法是从所需功能中删除 healthkit 并重新提交。该应用程序应该会在 iPad 之后出现在商店中。

https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW3

发现我们需要通过制作框架 "Optional".

在 Link Binary With Libraries 部分弱化 link HeathKit