How to publish an app only for iPhone and not to iPad?
Solution 1
In Xcode
- Choose your project from the Project Navigator
- Choose your app target
- Choose the "General" tab
- In the "Deployment Info" section, check only the iPhone device (uncheck iPad)
Solution 2
Xcode 12.4 Update
Project -> App -> Deployment -> Targeted Device Families -> Select iPhone
Comments
-
PeakGen over 1 year
I know couple of similar questions are asked before. But they are outdated with the XCode versions, as the XCode now seems to provide different / better features .
I have developed a Flutter app for both Android and iOS. My app target is mobile users and not tab or iPad users.
When I am publishing my app to Apple App Store, I am being asked to submit iPad 3rd Gen and 2nd Gen screenshots.
The app works in iPad, but the layout is not great. Alignment issues and similar UI matters are there.
I'm on XCode 11, is there a way to avoid publishing to iPad? I saw a tick box to uncheck iPad in XCode, maybe unchecking this will save me?
If there is no way to protect from being published to iPad, can I provide the not so good layout screenshots for now? Will they pass the review? In this case I can fix the layouts in next release.
-
PeakGen almost 4 yearsAppreciate your answer, will check. Then I have to again Archive, Validate, Distribute right? Also then in App Store, I don't have to upload IPad images?
-
SirDarius almost 4 yearsYes, you need a new IPA. The App Record can't know about it until you associate a build. You can check with TestFlight to make sure you can't download on an iPad, and then see what happens (you could write a note to the reviewer or just upload your bad screenshots which won't matter)
-
PeakGen almost 4 yearsOK. So that means I need a new build and maybe I will require the "ugly screenshots" which is not an issue. Right, will check. How about the build and version numbers? New ones needed? I already launched a one to Test flight, but never to real production. As for a side question, what will happen if the app "breaks" in iPad somehow? (Considering that I have unchecked the iPad tickbox as well)
-
SirDarius almost 4 yearsYou always need a new build # for every build you submit to the appstore, but not a new marketing version until you release.
-
SirDarius almost 4 yearsiPad may try to run the iPhone version of the app (at the phone size). This is what happens to apps that don't support iPad and I don't think you can stop that (and I wouldn't worry about it)
-
PeakGen almost 4 yearsYou are awesome.! I will check this out and comment back.
-
PeakGen almost 4 yearsYour answer worked! Thank you! Now my app is under review for release. And I did not have to upload iPad Images!
-
PeakGen almost 4 yearsonce more question. My app version is 1.0.1 and build number is 2. But in App Store, there is another place to "type" the app version, which I missed to update, it is there as 1.0. This number need to match with the exact app version number (1.0.1) ? Or else this is just a number which we want users to see? I guess this issue will not be a problem for the review?
-
ebg11 almost 3 yearsI am in the same position. I haven't taken iPad screenshots but I can see it emulates an iPhone when I run it on the iPad simulator. Do I still need to take iPad screenshots or will my phone versions be enough?
-
user462990 over 2 yearsNO, this is not true. It (apparently) has to continue supporting any users who installed it on an iPhone, so you're not allowed to change it!