Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 859577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:41:54+00:00 2026-05-15T08:41:54+00:00

The advice from Apple is to always set the Base SDK for iPhone/iPad projects

  • 0

The advice from Apple is to always set the Base SDK for iPhone/iPad projects to the latest installed version of the OS. At the current time this would be iOS 4.0, although 4.0 is only just about to be released so the vast majority of users will still be using 3.X. Obviously there will be features and functions available in 4.0 which don’t exist in 3.X, however I would still like to support 3.X users for obvious reasons.

Suppose I am using some 4.0 specific features. If my Base SDK is set to 4.0 and my deployment target is set to 3.1.X, my project will compile just fine. However, unless I’ve got specific code in there testing to see if certain features can be used, I will experience a crash on 3.1.X.

But what if I don’t know that this function doesn’t exist in 3.1.X? Will I only find this out by experiencing a crash on that particular screen? What if the function is buried deep within my app, or only appears in very specific situations? Or what if I’m a new developer who starts coding on 4.0, and doesn’t really know the ins and outs of 3.X? I suppose the obvious answer would be to set the deployment target for 4.0, but I suspect a lot of end users will be sticking on 3.1.X for a while so that’s not ideal.

Am I missing something about how this all works? Of course I need to test my app fully in 3.1.X, but it seems crazy that I don’t get any sort of compiler assistance. It’s really not that inconceivable that something will slip through at some point. Perhaps I can temporarily set the Base SDK back to 3.1.X every now and again?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T08:41:54+00:00Added an answer on May 15, 2026 at 8:41 am

    There are two variables here: there’s the base SDK and the deployment target.

    You set the base SDK to the lowest version of the SDK that has all the features that you want to use. For example, if you have an iPad application that also runs on an iPhone, you’d set the base SDK to 3.2.

    The deployment target is the lowest version that your app will run on. So in the above example you’d set the target to something like 3.0.

    To use classes that are in some versions of the SDK but not others there are a bunch of methods/functions, such as NSClassFromString and respondsToSelector:.

    And how do you know which methods exist in each version? Well, the documentation tells you when each method was introduced and if/when it was deprecated. Of course you also need to test the code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Taking advice from this post , I purchased a copy of 'The C Programming
The general advice is that you should not call GC.Collect from your code, but
I have a custom framework that, following the advice in Apple's Framework Programming Guide
Would like some advice from this. I got a table where I want to
Any advice on how to read auto-incrementing identity field assigned to newly created record
What advice would you have for someone who wants to start in the BI
Any advice on how to migrate an existing Delphi 7 business application to .NET
Any advice what has worked for you when dealing with user-entered markup, e.g. wiki
I need some advice as to how I easily can separate test runs for
Do you have any advice/rules on selecting a multiplier to use in a (multiplicative)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.