William Niu
William Niu

Reputation: 15853

How to prevent my iOS app to install on a device running the latest iOS?

I have read the following resources regarding iOS compatibility configuration:

They all cover a more commonly sought after question of backward compatibility, but what I'm looking for is to prevent my app from being installed on an incompatible later iOS.

So, for example, I want my app to run on iOS 3.2-5.0, but not iOS 5.1. How can I achieve this? Is this even possible?

Upvotes: 1

Views: 307

Answers (1)

thebarcodeproject
thebarcodeproject

Reputation: 565

Unfortunately, isn't actually possible. iOS and the App Store doesn't allow for this type of setting.

The only 2 reasons you might have to stop an application from working on the newest OS would be either because you've found a bug in your application which only shows up in the newer OS, which Apple would say "is your fault, so correct your app" or because it reveals that there is a bug in a recent version of the OS.

Good old Apple being Apple, they aren't very good at admitting they have bugs in their software. Their assumption is their newest OS has no bugs that weren't in older OS's, and you can't hold your apps from the new OS.

Technically, these would be the only times that you should do so. While Apple does deprecate some things, so far Apple has not explicitly changed the API and stopped things from working deliberately. Deprecations haven't turned into deletions yet (though in some cases I'm sure they should have...) I'd expect that if this ever changes, Apple will provide the option to flag your app as incompatible with a new OS, either that or make it so your app needs to be "certified" to work on the New "clean" OS prior to working.

Upvotes: 1

Related Questions