how to restrict my application only for iPhones [duplicate] - ios

This question already has an answer here:
Upgrade My free app form Universal to iPhone only
(1 answer)
Closed 3 years ago.
in my previous builds . I submitted my application for both iPhones and iPad . but as requirement I have to submitted my app only for iPhones and not for iPads . while for this I changed my my devices from universal to iPhone and when submitting my binary to App Store it shows error . because from your builds the binary required universal devices like that . for now I want the application only for iPhones

If I'm not mistaken, the only thing you have to change is the Devices to iPhone on the deployment Info in your Xcode Targets.
In the project part. Check the build settings and change the Targeted Device Family to 1 only.
As for your app being an iPhone only app. You also need to make sure it runs on iPad using the normal 1x and 2x size.
I would then suggest cleaning your build folder and try archiving again.
(I had to submit another build cause I had the same issue as you had. My app runs only on iPhone. The 1x 2x size is still iphone resolution. You don't have to make a native ipad layout)

Related

How to fix iPhone deployment target ? (App Store)

So I tried to ship my iPhone app into the App Store. but it get rejected because when the App reviewer test my app they are using iPad and it seems my app is messed up.
and this was the rejection message:
We noticed that your app did not run at iPhone resolution when reviewed on iPad running iOS 10.3.1. Specifically, we were unable to Sign Up using an iPad.
So I searched that I need to make the deployment info devices into Universal. It works well on iPad when I tested out. But the problem is I'm shipping this app for iPad. and when I go to iTunes connect, they were asking for iPad screenshots.
So should I set the device deployment for iPhone or Universal?
The app must work in iPad also. choose the devices iphone only and try to run your app in ipad in 1x and 2x view.
If you want to build for iPhone only, you will need to go to the project settings > General > Devices and choose "iPhone". If you choose "Universal" then you are building for both iPhone and iPad, which is why you need screen shots for the iPad as well. If you build for iPhone only, though, the app can still run on iPad, it will get scaled up.
As for the reason why it is not working on iPad using iOS 10.3.1, you'll have to run it on a device with that version of the OS and do some debugging. The information you gave here is not enough.

How to prevent an iOS app from being installed and run on iPhone 4/4s? [duplicate]

This question already has answers here:
Restricting app installations from AppStore only to users with iPhone 5/5s/5c
(3 answers)
Closed 7 years ago.
I have an app with a very specific UI that doesn't fit screens with the 3:2 ratio, i.e. it is almost unusable on iPhone 4/4s for example.
Is there a way to prevent installations of my app on specific devices, namely iPhone 4/4s?
To exclude a certain device (eg. iPhone 4/4s) of the same type (eg. iPhone, iPad) there would need to be a requirement in your app which will not run on that devices standard configuration.
An example would be if your app used the Metal Framework, which iPhone 4/4s doesn't support. If you've thought about targeting armv7s/arm64 architectures exclusively (iPhone 4/4s use arm7) forget it — your app will be rejected.
↪︎ Source
If you're trying to exclude certain devices which are of the same type then you might have to dig deep into UIRequiredDeviceCapabilites and determine which key might eliminate the device your app doesn't support. Apple generally wants your app to support as many devices as possible, and apparently they expect it's interface to look good on all of them.
Set your Deployment Target to iOS 8+, since iPhone 4 is unable to run it.
EDIT: Unfortunately this doesn't exclude iPhone 4s
It is not possible to prevent on specific devices since iOS 9 is supported by iPhone 4s.
Check this https://stackoverflow.com/a/29677597/4108415.

iOS App Submission without #3x images and build with xcode 6.1

I am planning to submit an iOS app to appstore. I developed this App earlier with xcode5.1 which supports iOS 6.0 and later(iOS8 was not released that time).
Do I want to restructure my app for ios 8.0 by including launch screen and icon images for iphone 6 and 6 plus.? (When I add #3x launch images for iPhone6/6 plus its showing some alignment issues with my screens which will force me to postpone my release.)
Will my app get rejected if I build the App with xcode 6.1 without including launch screen and icon images for iphone 6 and 6 plus.?
Apple docs says :
If your app indicates that it is optimized for the iPhone 6 Plus, at least one 5.5-inch screenshot is required. Up to four additional screenshots can be uploaded. You can rearrange the screenshots when you create or edit the iTunes Connect record.
There is a similar message for iPhone 6.
The question is now how to you indicate your app support iPhone 6/6 Plus ? iPhone 5 support was indicated when a 4" launch image was added to your project, so i guess iPhone 6/6 Plus support will only be added when the according launch images will be added to your project.
Xcode 6 also allows the use of a Launch screen file instead of Launch images. If you choose this option, iPhone 6/6 plus support will automatically be added since the Launch Screen handles all available the sizes.
To answer your question : your app should be accepted without the launch screen because it indicates you doesn't support iPhone 6/6 plus. Try to add these resolution when you can, Apple added some constraints about distribution, starting February 1, 2015, and maybe they'll do the same for resolution.

ITC.apps.validation.screenshot itunes connect iPhone 6 screenshot is required

I have uploaded my app build to itunes connect from Xcode 5.1.1... I currently do not support iPhone 6. When I submit to review I get an error that I have to upload iPhone 6 sreenshots first.
ITC.apps.validation.screenshot_5.5-Inch_missing
ITC.apps.validation.screenshot_4.7-Inch_missing
Is there anyway I could just bypass iPhone 6 screenshots where as my app doesn't support iPhone 6 yet ?
My App was accepted with Photoshop Scaled 4-inch Screens. However, for now apple stopped requiring iPhone 6 screenshots.
You can't submit an app that does not support iPhone 6. So I guess it makes sense that iTunes Connect now makes it compulsory to include at least one screenshot for the iPhone 6 and 6 Plus resolutions.
But unless you include launch images for the iPhone 6/6 Plus resolutions your app will run in scaled mode on the new iPhones. So as a quick workaround, I imagine that simply scaling your existing screenshots would give similar results to re-capturing them.

How to make my app run only on iPads with retina display? [duplicate]

This question already has answers here:
Restrict to certain iOS target devices for App Store submission
(4 answers)
Closed 9 years ago.
I have an app that creates graphics and I've only tested it on an iPad with retina display (screen scale of 2). Because the app heavily depends on this screen density, I'm looking for a way to exclude earlier versions of iPad, as well as iPad mini from being able to download my app from the app store.
Is there some xCode project flag or some device feature that I can use to make sure that my iOS 6.0 app would not be sold to devices which do not have retina displays?
Thank you!
I am pretty sure that any attempt to do that would get dinged by the App Store guardians. You can exclude the iPad 1 by requiring iOS 6 but that's as far as you can go.

Resources