Re: Dashboard widget plugin with embedded framework
Re: Dashboard widget plugin with embedded framework
- Subject: Re: Dashboard widget plugin with embedded framework
- From: David Sinclair <email@hidden>
- Date: Mon, 8 Aug 2005 20:37:42 -0700
On Aug 8, 2005, at 17:21, Nick Zitzmann wrote:
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.
Thank you. With that hint, I tried adding a new deployment
configuration to the framework project, and changing the Installation
Directory build setting to "@loader_path/../Frameworks", and that did
the trick. Simple!
--
David Sinclair, Dejal Systems, LLC - email@hidden
Custom Mac OS X development - http://www.dejal.com/consulting/
Site change and failure monitor tool - http://www.dejal.com/simon/
Plus other useful Mac products - http://www.dejal.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