Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Sorry; completely blew that answer the first time. Let's try this again...</p> <ul> <li>Deployment Target sets the lowest OS version you will work with.</li> <li>SDK sets the highest OS version you will work with</li> </ul> <p>Between Deployment Target and SDK, you have to conditionally check for APIs. See the <a href="https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html" rel="nofollow">SDK Compatibility Guide</a> for details on that.</p> <p>You probably just want to use the old SDK instead.</p> <p>The easiest way to use old SDKs with newer versions is to save a copy of the .sdk directory and copy it into the new version when you upgrade.</p> <p>You can, however, download the old stuff, too. Apple just hides it. Start in the <a href="https://developer.apple.com/downloads/index.action" rel="nofollow">Downloads for Apple Developers</a>. Find the copy of Xcode you want. Download Xcode 4.1 for Snow Leopard; it includes iOS SDK 4.3. You can install it in parallel with Xcode 4.3, but you don't have to. Mount the disk. Open a terminal (it's just easier that way). Go to /Volumes/Xcode/Packages. You'll find all the SDKs there.</p> <p>You can try installing it directly, and that may or may not work for you. You can also unpack the .pkg and get the files you want. I typically use a program called <a href="http://unarchiver.c3.cx/" rel="nofollow">The Unarchiver</a>. It can unpack just about anything. That'll give you a directory that includes a file called "Payload". If you double-click that, it'll expand (it's just a tar.gz that they don't include the extension on). That will give you the Platforms directory. Copy that into the Platforms directory in your copy of Xcode and you should be golden.</p> <p>All that said, I once I've gotten the system working pretty well, I usually switch back to compiling with the latest and using deployment target. It makes it easier to collaborate with others who don't have the old SDK. And Apple may or may not reject due to linking with an old SDK. They've done that in the past; I don't know the current situation there (haven't had it come up in a while). But I'd tend to recommend submitting something built against the latest.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload