Base SDK 10.6 deployment target 10.5 - symbol not found
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