IOS Base SDK & Deployment Target Difference & Settings

Source: Internet
Author: User

There was a glitch today, deployment target version > Base SDK version, Warning,,, read the following information

Xcode provides two configurable settings for developers: The first is the base SDK and the second is iOS deployment Target. By configuring these two parameters, you can customize the functionality of your app and the version of your device and operating system that you can run.

To open the configuration interface, proceed as follows:

    1. Select the project file for the program.
    2. Select the project file-build settings-option, direct search-base sdk-and-deployment target-on the line, find quite troublesome comparison under these two versions, look at the following introduction you will understand.
1. Set up the base SDK

The Base SDK, which refers to the version of the SDK that is currently being compiled.

You can change the value to "Latest IOS SDK" or any version of the SDK installed on your development machine. The Base SDK setting directs the compiler to compile and build the app using that version of the SDK, which means that it directly controls which APIs are used by the app. By default, new projects created in Xcode always use the latest version of the SDK, and Apple handles the deprecation of the API. You should use this default value unless you have a good reason to do so.

2. Set Deployment Target

Deployment Target, which controls the minimum operating system version required to run the application.

If you set it to a specific version, for example, 5.0,app store will automatically prevent users running earlier operating systems from downloading or installing the app. To meet the needs of a larger number of users, I recommend at least a previous version of the backward compatible operating system. For example, if iOS 6 is the latest version, you should support iOS 5 at a minimum. You can set the deployment Target in the Building Settings tab where the Base SDK is set.

If you use the features available in the IOS 6 SDK and want to support an earlier version, you can set the base SDK to the latest SDK (iOS 6) and set the deployment target to at least iOS 5. However, if your app is running on an iOS 5 device, some frameworks and features may not work. It is the developer's job to adapt the application to this situation and work correctly without crashing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.