The purpose of installing iOS is installed in iOS 4.2. Will the application work on devices running on earlier versions of iOS?

If an application is compiled in Xcode with its iOS destination for deployment installed in iOS 4.2, will it run on devices running earlier versions of iOS? The app has no features other than iOS 4. I did a clean install of Snow Leopard and XCode 3.2.5, and earlier versions of the SDK were not tested.

+3
source share
3 answers

No. The deployment target determines the minimum required version of iOS that must be running. You can set the build target to 3.1.3, for example, support devices with iOS versions> = 3.1.3. The basic SDK parameter determines which version of the SDK your application is using. It will be 4.2. As long as you are not using any of the features of iOS 4, you can safely set the deployment target in 3.1.3.

+6
source

No. The application will work only in the version installed in the target and subsequent versions of the deployment, and not earlier.

The deployment target should be set to the lowest version of iOS that you want to support, for example. iOS 3.x.

I know that you stated that you are not using any special 4.x functions. but only for completeness:

, , , / , .

+1

No. He does not work. iOS cannot know if your application will use features that were not available until it was launched, so you should set this as a requirement.

0
source

Source: https://habr.com/ru/post/1786664/


All Articles