Weak linking
Weak linking
- Subject: Weak linking
- From: Satyanarayana Chebrolu <email@hidden>
- Date: Fri, 07 Nov 2014 11:54:48 +0000
- Thread-topic: Weak linking
Hi folks,
We have an application, which is supporting from 10.5(Leopard) to 10.10(Yosemite). Inside the application, there is a custom framework(X.framework), which has some custom code for Appkit classes.
Off late, decided to introduce a new feature, which will be supported from 10.7 to 10.10. And then subclassed the classes (NSTableRowView, NSTableCellView), which are part of the X.framework.
Problem:
The app is getting crashed when we launch it on 10.5 and 10.6 machines saying that “dyld: Symbol not found: _OBJC_CLASS_$_NSTableCellView”.
Understand that NSTableRowView, NSTableCellView are not existing on 10.5 and 10.6, so the subclasses should be weakly linked.
Tried, by making Cocoa & X.frameworks as Weak linking(Optional) under Link Binary With Libraries section of the application target, but still the same issue. It seems, I am missing something.
Should be a straight way to fix it. Will be great if you can share your thoughts.
I am using Xcode 6.1.
Thanks in advance.
-Satya
This email and any attachments are confidential, and may be legally privileged and protected by copyright. If you are not the intended recipient dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system. Any views or opinions are solely those of the sender. This communication is not intended to form a binding contract unless expressly indicated to the contrary and properly authorised. Any actions taken on the basis of this email are at the recipient's own risk.
_______________________________________________
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