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 8624537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:33:12+00:00 2026-06-12T07:33:12+00:00

I have just upgraded my XCode to 4.5 and installed the SDK 6.0. I

  • 0

I have just upgraded my XCode to 4.5 and installed the SDK 6.0.
I have found that SDK 5.0 disappeared but I can still download back the Iphone 5.0 simulator.

I just wonder weather I can use SDK 6.0 to develop application for iOS 5.1.
I have made the configuration shown in the following pictures.

enter image description here
enter image description here

  • 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-06-12T07:33:13+00:00Added an answer on June 12, 2026 at 7:33 am

    Yes any iOS SDK allows you to develop for previous versions of the OS as well.
    For example you can develop for iOS5 even with the iOS6 SDK.

    You simply have to set the “Deployment Target” setting to 5.1.

    You can then:

    • either only use methods available in iOS5.1 and don’t use any iOS6-only methods to make sure your app will still run in iOS5.1
    • or perform a check at runtime each time you want to call a method that is only available in iOS6, and call this method only if it is available (if the user have its iPhone with a recent enough version of iOS that support this method).

    For more information and detailed instruction for the configuration and example cases, I strongly suggest to read the SDK Compatibility Guide in Apple documentation.


    For example, if you want to provide a button to share something on social networks, you could want to use the Social.framework, but this one is only available on iOS6. Thus you can propose this feature for iOS6 users and alert iOS5 users that they need to update their iPhone to iOS6 to use this specific feature:

    // Always test the availability of a class/method/... to use
    // instead of comparing the system version or whatever other method, see doc
    if ([SLComposeViewController class])
    {
        // Only true if the class exists, so the framework is available we can use the class
        SLComposeViewController* composer = [composeViewControllerForServiceType:SLServiceTypeFacebook];
        // ... then present the composer, etc and handle everything to manage this   
    } else {
        UIAlertView* alert = [[UIAlertView alloc] initWithTitle:@"Sharing unavailable"
                    message:@"You need to upgrade to iOS6 to be able to use this feature!"
                    delegate:nil
                    cancelButtonTitle:nil
                    otherButtonTitles:@"OK, will do!"];
        [alert show];
        [alert release];
    }
    

    Then simply weak-link the Social.framework (change “Required” to “Optional” when you add the framework to the linker build phases) as explained in details in the documentation.

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

Sidebar

Related Questions

I just upgraded Xcode, but now I don't have any 3.x SDK for Simulator.
I've just upgraded to Xcode 4.5 GM and found out that you can now
I have installed just installed MAC OS Lion and Upgraded Xcode to 4.1. But
I just upgraded to Xcode 4. I have a project that is still dependent
I just upgraded to iPhone SDK 3.2 Beta 4. Since doing so, I have
I have just upgraded to Xcode 4.3.1 and SDK 5.1. My project uses storyboard
I have currently installed version of xcode is 3 and iPhone SDK which I
I am trying to learn iphone programming and I have just upgraded xcode to
I just upgraded my Xcode ide. I have 3 logins. In the logins I
I have just installed composer in my /usr/bin folder, so when from that folder

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.