Reputation: 7120
The app that I am working on has capabilities where it needs Phone App to place a call. This app has never been published to App Store before and will be publishing soon after making the configuration changes to prevent it from installing on iPad.
I went through Apple documentation and while I understand that Apple expects apps to be allowed to installed on as many device sizes as possible, this app needs Phone app and hence I wanted to prevent it from getting installed on iPad, just like Whatsapp does.
In Xcode, I only have iPhone in supported destinations and I also added "Required device capabilities" in Info.plist with values as arm7, Camera flash (since the app uses torch) and Phone App. However, when I sideload the app on iPad, I am able to install the app (which looks like emulated iPhone) instead of getting an error.
Are there any other changes that I need to make to prevent installation of the app on iPad?
Upvotes: -2
Views: 39