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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:58:36+00:00 2026-06-08T21:58:36+00:00

As always when Apple updates OS X, the latest XCode 4.4 dumps the older

  • 0

As always when Apple updates OS X, the latest XCode 4.4 dumps the older (10.6) SDK and I find myself needing to use the 10.7 SDK (or 10.8 I suppose) and setting my deployment target to 10.6 to maintain compatibility.

I prefer linking to the older SDK because I know that I cannot by mistake introduce calls to APIs that do not yet exist. Something that I found myself doing regularly when I last tried the inverse approach.

What I find myself doing is that I use the code completion feature in XCode to choose the “right” call for a simple class like NSWorkspace, then everything works fine during development, I forget about it and when I release a new version: Kaboum! The whole application explodes on earlier OS X releases at run-time; often in those hard-to-reach places 🙂

Or at least this was the situation for me a few years back.

Surely, by now there’s a way to either:

  • making sure you don’t introduce API calls that are not yet available in your deployment target even if though they are defined in the SDK

  • detecting such calls during build or static analysis time

I’m sure I’ve missed something, somewhere along the line.. Please enlighten me!

Best regards,

Frank

  • 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-08T21:58:38+00:00Added an answer on June 8, 2026 at 9:58 pm

    Surely, by now there’s a way to either:

    • making sure you don’t introduce API calls that are not yet available
      in your deployment target even if though they are defined in the SDK

    • detecting such calls during build or static analysis time

    No there is not. Yes, you should open a radar (bugreport.apple.com) against it. If you like, you can dupe mine: rdar://11985733

    Yes, the only viable solution, despite Apple’s recommendation, is to copy the old SDKs and link against them.

    I spent quite some time talking with the Xcode team about exactly this issue at WWDC 2012. They agreed that it’s broken. There is not currently a plan to fix it. Escalating radar’s is how we influence Apple on these things.

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

Sidebar

Related Questions

I can find ample evidence that MongoDBs are always kept in the order given
I always thought that you could use OR in a LIKE statment to query
Scenario: My PHP application will always use the date field DD-MM-YYYY. MySQL obviously always
I've seen examples for load() and ready() , but they always seem to apply
I always hear using global variables are dangerous. Does this apply to Drupal? Take
I always read that one reason to chose a RESTful architecture is (among others)
I always seen on SyncLock examples people using Private Lock1 As New Object '
I always wanted to implement swypable tabs in my application, like the ones in
You always read that for-in loops should check o.hasOwnProperty(k) to skip over Object.prototype. Well,
We always alloc before init in Objective C, then while writing init method, Why

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.