• 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
Base SDK 10.6 deployment target 10.5 - symbol not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Base SDK 10.6 deployment target 10.5 - symbol not found


  • Subject: Base SDK 10.6 deployment target 10.5 - symbol not found
  • From: Kenneth Baxter <email@hidden>
  • Date: Tue, 11 Jan 2011 07:42:12 +0000 (GMT)

Hi, I have a project I'm working on which needs to run on 10.5 and 10.6. I have various things enabled or disabled using:

if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5) ...

but I also have some places in my code where I want to use a CAShapeLayer subclass in 10.6 and an alternate version based on NSViews in 10.5. My logic says it is not going to call the CAShapeLayer, but it appears that it has been linked in to the application anyway, so when I try to run the program on 10.5, it gives me the error:

dyld: Symbol not found: _OBJC_CLASS_$_CAShapeLayer 

What is the proper way to handle situations where a whole class is missing in the earlier SDK like this? The documentation doesn't seem to address this scenario as far as I can see.

Thanks

Ken_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Base SDK 10.6 deployment target 10.5 - symbol not found
      • From: Wim Lewis <email@hidden>
  • Prev by Date: Re: Custom path animation for CAShapeLayer
  • Next by Date: [ANNOUNCE] Behavior-Driven Development libraries
  • Previous by thread: Re: document architecture question
  • Next by thread: Re: Base SDK 10.6 deployment target 10.5 - symbol not found
  • Index(es):
    • Date
    • Thread