gpt4 book ai didi

带有 healthkit 的 iOS 通用应用程序无法在 iPad 上运行

转载 作者:IT王子 更新时间:2023-10-29 07:52:41 24 4
gpt4 key购买 nike

我有一个通用应用程序,我实现了它以使用 healthkit API。它在 iPhone 上运行良好,但当我尝试将它安装在实际的 iPad 设备上时(在 iPad 模拟器中完美运行),它无法安装。

我收到错误消息:“...的应用程序的 Info.plist 指定了设备功能要求,“我的 ipad”不满足这些要求”。

我有什么办法可以分发一个通用应用程序,其中 healthkit API(框架)仅在 iPhone 上运行?

这是我的项目的两个截图:

This is under "Custom iOS target properties

This is my capabilities tab

我真的需要制作独立的 iPad 应用程序吗?

最佳答案

您可以从项目的 info.plist 中的 Required device capabilities 中删除 healthkit

关于带有 healthkit 的 iOS 通用应用程序无法在 iPad 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25647938/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com