问题描述
我有一个通用应用程序,我已实现它以使用healthkit API。它在iPhone上运行良好,但当我尝试将其安装在实际的iPad设备上(在iPad模拟器中完美运行)时,它不会安装。
I have an universal app and I´ve implemented it to use the healthkit API. It runs great on iPhone but when I try to install it on an actual iPad device (works perfectly in iPad simulator) it wont install.
我收到错误消息:应用程序的Info.plist在...指定设备功能要求,我的ipad无法满足。
I am getting the error message: "The Info.plist for application at ... specifies device capability requirements, which are not met by "my ipad"".
我有什么方法可以分发一个通用应用程序,其中healthkit API(框架)只在iPhone上运行?
I there any way I can distribute an universal app where the healthkit API (framework) only runs on the iPhone?
下面是我项目的两个截图:
Heres two screenshots of my project:
我真的需要制作一个独立的iPad应用程序吗?
Do I really need to make a standalone iPad app?
推荐答案
您可以从项目的info.plist中的所需设备功能中删除healthkit
you can remove healthkit from "Required device capabilities" in your project's info.plist
这篇关于带有healthkit的iOS通用应用程序无法在iPad上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!