sdd
sdd

Reputation: 877

App running on iPad while its iPhone-Only

I made an iPhone App with Xcode. The devices setting is set to "iPhone". But in iTunes Connect it is rejected because it doesn't run on the iPad.

That is weird because it is an iPhone app, but when I checked it in Xcode, I can run it with the iPad simulator,however I think that normally this is not possible with an iPhone app.

I have added pictures to make my question clearer: Devices set to iPhone-only

It's still giving the possibility to run on iPad simulator..

So what is gone wrong and how can I fix it?

EDIT: Picture from resolution center: enter image description here

Upvotes: 9

Views: 10641

Answers (4)

sdd
sdd

Reputation: 877

Thanks all, I Found the problem/solution:

In my info.plist there was an extra row called supported interface orientations(iPad) where the portrait mode was added.

I have no idea how this got added here but when I removed it, the problem was solved.

Upvotes: 8

Keab42
Keab42

Reputation: 688

From the Apple iOS App Store Review Guidelines (https://developer.apple.com/app-store/review/guidelines/):

2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution

Basically, if you set an app to "Universal" it will have iPad and iPhone versions of the UI and will appear in the search results for both. If you set it to iPhone only, it will still be installable on iPads, but it doesn't appear in the search results by default. Additionally when a user does install it on an iPad it will just scale up the UI to best fit the screen. You cannot prevent your app from running on iPads.

Upvotes: 4

Julian E.
Julian E.

Reputation: 4755

Every app can run on the iPad no matter if it is supported or not. The option you have in Xcode is if you want to configure it to look good on the iPad using it's own storyboard. If you configure it for both iPad and iPhone your app fill get a + in the right corner of the price on the App Store and show up on iPad searches. However if you don't configure it to support iPads it'll not show up on searches of the Apple App Store, unless osmose selects iPhone only. You can easily submit your app to the App Store, without it being rejected my friend. Hope that helps. Keep coding.

Upvotes: 1

Santu C
Santu C

Reputation: 2654

Nothing is wrong here , you can do this in debug mode for development purpose. Even you can run it on your iPad device from xCode. Don't worry about it, nothing wrong here.

Upvotes: -3

Related Questions