Introduction
Xcode includes software development kits (SDKs) that enable you to create applications that run on specific versions of iOS or OS X—including versions different from the one you are developing on. This technology lets you build a single binary that takes advantage of new features when running on a system that supports them, and gracefully degrades when running on an older system. Some Apple frameworks automatically modify their behavior based on the SDK an application is built against for improved compatibility.
Read this document if you want your application to target a specific version or multiple versions of iOS or OS X.
Organization of This Document
This document contains the following chapters:
Overview of SDK-Based Development describes how SDK-based development works.
Configuring a Project for SDK-Based Development describes how to set up your project to use an SDK.
Using SDK-Based Development explains how to use weakly linked classes, methods, and functions, how to weakly link an entire framework, how to compile conditionally for different SDKs, and how to find uses of deprecated APIs in your code.
Copyright © 2010 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2010-11-15