Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS universal app with healthkit won't run on 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.

I am getting the error message: "The Info.plist for application at ... specifies device capability requirements, which are not met by "my ipad"".

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:

This is under "Custom iOS target properties

This is my capabilities tab

Do I really need to make a standalone iPad app?

like image 232
Philip Avatar asked Sep 03 '14 15:09

Philip


People also ask

How do I make iOS app compatible with iPad?

You can modify your existing iPhone app to what is called a “universal app” which can run on both iPads and iPhones. In the app store, universal apps are marked with a “+” sign. This basically tells you that if you download this app for iPhone or iPod Touch, you can run the same application on your iPad too.

What is HealthKit for iOS?

HealthKit provides a central repository for health and fitness data on iPhone and Apple Watch. With the user's permission, apps communicate with the HealthKit store to access and share this data.


1 Answers

you can remove healthkit from Required device capabilities in your project's info.plist

like image 66
user2423351 Avatar answered Sep 21 '22 19:09

user2423351