Xcode Deploy to iPhone 5 and later? [duplicate] - ios

This question already has an answer here:
Is it possible to exclude 3.5 inch screen devices when submitting an iOS app?
(1 answer)
Closed 7 years ago.
My app does not play nice with 3.5 inch screens. How do I deploy to the iPhone 5 and later only? So far my solution is to make the valid architecture arm64 only. But this leaves out the iPhone 5 & 5C.

Not building for iphone 4s goes against Apples choice of allowing it to go to iOS9, which is probably why they don't allow people to choose specific device support in the Info.plist. You can only filter out by features, so perhaps look for a feature that is not in iPhone 4s but in other devices, and say you only support that type.
https://developer.apple.com/library/ios/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html

Related

How do i prevent Apple form rejecting my app based on screen size? [duplicate]

This question already exists:
Will Apple reject my app? I dont wan't my app to support iPhone SE, 5 or 5s [closed]
Closed 2 years ago.
My app developed in React Native runs on iPhone 6 and above (all the way through to the iPhone 12 Pro Max using iOS 14.1).
Getting my apps components, images etc... to drop down to accommodate the screen size of the iPhone SE, 5 and 5s is proving damn near impossible. I know the SE is currently receiving the latest iOS updates (my SE device for example runs the latest iOS 14.2), so it seems supported, but i don't know about 5, 5s. Either way it's really not something i want to develop for.
If i submitted the app to the app market, is there a strong chance of it being rejected on the basis of not supporting the iPhone SE which has a logical width: 320 & height: 568 ?

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.

Configuring an app to run only on specific devices [duplicate]

This question already has answers here:
How to configure iOS app to work on specific devices?
(3 answers)
Closed 9 years ago.
How can I set up my iOS project to run only on iPhone 5, iPhone 4S, iPhone 4, and all iPads except the iPad 1? I am committing to iOS 6 only.
I wanted to answer this in a comment but I cannot still comment everwhere. :D
Take a loook at this : How to configure iOS app to work on specific devices?
By setting Deployment Target to iOS 6, you exclude iPad 1 and any iPhone older than 3GS. Not sure about iPods, but you didn't mention them.
Since iOS 6 runs on iPhone 3GS and you don't want to support it, you need to have reason. Tell us and there may be solution.
Edit: So if the main reason is non-retina display, you can't do much. You are not alone, who would prefer all devices to be retina-capable, but unfortunately… But hey, all retina graphics just works on these devices without a problem, so just leave it like that. Users of those devices know they have poor display.

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.

Will iPhone app be rejected for not supporting iPhone 5 screen size? [duplicate]

This question already has answers here:
Is iPhone 5 display support *necessary* for app submission? [closed]
(3 answers)
Closed 10 years ago.
Will Apple reject a newly submitted iPhone app that does not support the iPhone 5's screen dimensions, ie runs in compatibility mode and is built to the iPhone 4's screen dimensions?
No, its not necessary. You will notice during submission to http://itunesconnect.apple.com/ Screen shots of iPhone 5 (4 inch retina ) are optional.
UPDATE:
Now 4 inch retina screenshots are necessary to submit iPhone application on Apple AppStore.
Means now you have to support iPhone 5 in every new app you submit to apple store, event when you submit a new version to existing application.
No, It won't get rejected. It will be acceptable by the App Store. Don't worry.
It won't be rejected for this reason.
B'coz, it works well on iPhone 5 also except black patches at top and bottom.
It is not necessary that, all the apps are bound to be compatible for iPhone5. Some of them might be only meant for iPhone 4 or 4s. Then also It will work on iPhone5 with black patches at both top and bottom for the remaining screen.
So your app will definitely be accepted by Apple!

Resources