Many iPhone OS versions are available. Many users have not upgraded to the latest version for various reasons, which makes it difficult for our developers. As developers, we all hope that the more the audience of the software, the better. How can I make the software adapt to the most iPhone OS? Here we should understand the Base SDK and Deployment Target of the iPhone project.
Base SDK refers to the SDK version currently compiled. IPhone OS Deployment Target refers to the system version on which the compiled program will run.
A more simple and practical statement is described as follows:
The Base SDK is set to the highest sdk version supported by xcode, for example, "iphone Device 4.0 ″. The iPhone OS Deployment Target is set to the lowest supported iPhone OS version, for example, "iPhone OS 3.0 ″.
In this way, your program can run on devices from iPhone OS 3.0 to 4.0. Of course, the premise is that you do not use the newly added API 4.0.