Re: Plugins loading frameworks
Re: Plugins loading frameworks
- Subject: Re: Plugins loading frameworks
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 26 Jul 2006 18:37:02 -0600
On Jul 26, 2006, at 5:41 PM, David Alter wrote:
1) Where in the xCode project file for the framework can I set the
installer_name. I do not see it an any of the build settings.
It's in the target settings, called "installation directory". Use the
search field if you need to find it.
2) I just read up on the @loader_path and let me see if I
understand this correctly. This is the relative path of the what
ever loads this Framework. So my plugin that wants to load this
framework has the framework in MyPlugin.bundle/Contents/Frameworks/
GreatCode.framework. I would set me @loader_path on
GreatCode.framework to some thing like
@ loader_path/../Frameworks/GreatCode.framework/Versions/A/GreatCode
Is that correct?
Close; you don't need to add anything after the Frameworks. The
linker will fill that out for you.
Note that you may need to use install_name_tool to set @loader_path
correctly. I don't know if this was fixed in later Xcode distros, but
the linker that came with Xcode 2.0 wouldn't embed @loader_path into
a binary. See <http://developer.apple.com/releasenotes/DeveloperTools/
dyld.html> for more information.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden