Version settings supported by IOS Engineering

Source: Internet
Author: User

How do I set up the Base SDK and IOS Deployment Target?

http://leopard168.blog.163.com/blog/static/16847184420116159138181/

In the development of the iphone, often bothered by the version, Apple will regularly release the iphone development package, not just release a patch, but the entire development package is completely updated, but also does not support the power outage continued, IOS 4.3 later version, has reached 4 G, download workload imaginable. It is because of the frequent updates that we need to figure out the Xccode version and the IOS SDK version. How do I see these two version numbers?

Before developing the iphone, you first need to download the required SDK from the Apple iphone development website. The development package itself is provided with version information. For example: Download the latest Apple released: xcode_3.2.6_and_ios_sdk_4.3. This development package indicates that the version number of Xcode is: 3.2.6, and the IOS SDK version number is 4.3.

Settings for the iOS SDK and iOS Deployment Target in Xcode:
The Base SDK refers to the version of the SDK that is currently being compiled, and OS Deployment Target refers to which version of the terminal the compiled app can run on.

You need to set the Project and Target separately:
1. Project Setup Method:
(1) from Xcode Menu, step Into project, Edit project Settings, Build, Base SDK
(2) Enter IOS Deployment Target in the same way
2. Target Setting Method:
(1) from Xcode Menu, step into Project, Edit Active Target, Build, Base SDK
(2) Enter IOS Deployment Target in the same way

Note: Make sure that the settings for Project and Target remain consistent.

Here is an example of the Flex Radio (a network radio).

The Base SDK is set to: IOS 4.1

IOS Deployment Target is set to: 3.2.
With this setting, the compiled IPA file can be installed on iphone 3.2 or later.

Sometimes a strange phenomenon occurs: If your iphone version is 4.3 and the SDK is 4.1, the error will be prompted when XCode build &go: The iphone version is too low to download. And under XCode windows-> Organizer the iphone icon is displayed in yellow, and only green can be downloaded correctly.

What do we do? Here's a little trick:

Install SDK 4.3 on your Mac OS. Open the SDK 4.3 version of Xcode and connect your iphone (for example, version 4.3) to Mac book. The yellow lantern turns green. You can then switch to the 4.1 version of Xcode and download it to the 4.3 version of the iphone.

Version settings supported by IOS Engineering

Related Article

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.