• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in Leopard due to symbol not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in Leopard due to symbol not found


  • Subject: Re: Crash in Leopard due to symbol not found
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Thu, 29 Oct 2009 23:08:04 +0100


On Oct 29, 2009, at 8:10 PM, Bill Cheeseman wrote:

So is this correct? -- If I want my Objective-C application to use
blocks when running under Snow Leopard but not when running under
Leopard, testing which version of Mac OS X I'm running under and
branching around blocks-based code under Leopard won't solve the
problem?

Do I have to use the availability macros and build two separate
targets, one for Leopard and one for Snow Leopard? Maintaining a
separate product for Leopard is not practical.

There is a discussion about this on Developer Forums Beta / GCD called "Graceful degredation SnowLeopard > Leopard > Tiger" whose outcome is not quite clear to me.
You may need to put your block code in a separate framework compiled for Snow and weak link against it.
Even if you only needed to isolate the block code in files compiled/ linked with some flags, having to switch to a different function based on a global holding the system version takes away from the usefulness of blocks of course.


Jan E.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: libSystem.B.dylib not found
  • Next by Date: Re: libSystem.B.dylib not found
  • Previous by thread: Re: libSystem.B.dylib not found
  • Next by thread: xcode proj to depend on dyn lib from another project
  • Index(es):
    • Date
    • Thread