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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:46:35+00:00 2026-06-13T07:46:35+00:00

This is a question out of interest, so please be as informative as possible

  • 0

This is a question out of interest, so please be as informative as possible with your answer.

I recently updated Xcode to 4.5 and lost access to iOS SDK 5.1. Using the method described in several SO posts (use an image from previous Xcode installer) I added the iOS SDK 5.1 again.

The environments I want to support with my apps are iPhone 3GS, iPhone 4, iPhone 4S and iPhone 5. Obviously with iOS SDK 5.1 and 6.0. What are the recommended build settings for these requirements?

Right now I set the Deployment Target on 5.1, Base SDK on 6.0, architectures on armv7 and armv7s. Is this correct?

Now, I believe iOS SDK 5.1 is not compiled for armv7s (iPhone 5 architecture). How do I make sure that the code compiled for iOS 6.0 also works on iPhones < 5? Right now I’m getting linker errors ld: file is universal (4 slices) but does not contain a(n) armv7s slice pointing to the iOS 5.1 SDK, when not checking Build For Active Architectures Only. How do I make sure that, when releasing to the App Store, the app will still run on iOS SDK 5.1. It appears to be compiling for armv7s in combination with iOS 5.1 — which won’t work.

Any help is greatly appreciated.

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

    You didn’t need to download SDK 5.1 at all. SDK 6.0 includes every libraries and headers SDK 5.1 includes, plus the added libraries and headers of iOS6.

    Be sure to understand the difference between the version of the SDK, the versions of iOS your app will be compatible with, and the architectures you build your app for.

    Compiling with SDK 6.0 does not mean that your app will only work on iOS6; it mean your app will be able to run on iOS from the version you set in IOS_DEPLOYMENT_TARGET to the version corresponding to the SDK, namely 6.0.

    So if you want your app to be compatible with iOS 5.1 and above, you still compile it using Base SDK 6.0 and don’t need SDK 5.1 at all: you just have to set the Deployment Target to 5.1 and the Base SDK on 6.0 (as you said in your question), so there is nowhere you need the SDK 5.1 for that, which is useless for compiling for iOS6, iPhone5 and armv7s anyway (it does not contains the necessary headers, libraries and architectures, that’s why the SDK 6.0 has been released and is necessary).

    Using an old SDK like 5.1 (you downloaded separately) with latest version of Xcode will probably lead you to problems, and will more importantly not allow you to compile your app for iOS versions higher than the version of the SDK (in your case 5.1). So do use SDK 6.0, even if you want your app to be compatible starting iOS 5.1.


    For more information on the difference between the version of the SDK you use (Base SDK), the Deployment Target, and the supported iOS versions and architectures for your app, read the SDK Compatibility Guide in Apple documentation that explains it all in great details.

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

Sidebar

Related Questions

This more of an out of interest question than an urgently need an answer
This question is just out of interest, and perhaps could be useful for my
This question is merely out of interest and trying to understand something about memory
This question is not a homework, it is just out of personal interest and
This question is mostly just out of academic interest. I started using YUI 3
I read with interest user sunit 's answer to this question about updating an
UPDATE: This question is out of date, but left for informational purposes. Original Question
ASP.Net MVC3 is cool and all but I have this question more out of
I was checking out this question which has this code - (NSArray *) percentagesRGBArray:(float[])
I've read this question to figure out how to set float:none on an element

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.