0
votes

we have been developing many ios app as a team. And we always choose specific device type such as iPhone not Universal app or iPad. enter image description here

And the question is,Our some app is say "Compatible with iPhone, iPad and iPod touch." and some other app say "Compatible with iPhone and iPod touch."

A App on AppStore A App on AppStore

B App on AppStore B App on AppStore

How does Apple decide compatiple device familly?

Which code block causes this difference?

2
This information may help you UIDeviceFamily Key - Raviprakash
Thank you for your response @Raviprakash . i checked, it's look like normal. - Emre Gürses

2 Answers

2
votes

I found the cause of the problem. We use Healtykit.framework in some project. And this freamework is only available on iPhone not iPad. if you choose required option in the "Link With Binary in Library", the app store description is say "compatible with iPhone and iPod touch".

enter image description here if you want to available for the iPad, you should choose optional from the "Link With Binary in Library"

HealthKit and the Health app are unavailable on iPad.

0
votes

If you have noticed Info.plist file there is 1 property called "Application requires iPhone environment". Its a BOOL type of property.

So if this property set to YES in plist file than even if you have selected devices to iPhone as in your screenshot it will show compatibility with iPad.

And if this Property Set for NO than it will not show compatibility with iPad.

Hope this will help you.