Re: Dashboard widget plugin with embedded framework
Re: Dashboard widget plugin with embedded framework
- Subject: Re: Dashboard widget plugin with embedded framework
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 8 Aug 2005 18:21:02 -0600
On Aug 8, 2005, at 6:04 PM, David Sinclair wrote:
I'm hoping I've missed something. Otherwise, it seems that the
only solution is to have an installer to install the framework in /
Library/Frameworks. Rather unsatisfactory.
Or, is there some way I can get the plugin to manually load the
framework?
The easiest way to do it, if the framework has no resources
(excluding Info.plist and InfoPlist.strings), is to make a static
build of the framework and link that to your plugin.
If the framework does have resources, however, then you'll need to
change its installation path using the install_name_tool program.
Specifically, change its path to "@loader_path/../Frameworks" before
you link it to your plugin. See <http://developer.apple.com/
releasenotes/DeveloperTools/dyld.html> for details.
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