re: Loading a private framework from a plug-in (Spotlight)
re: Loading a private framework from a plug-in (Spotlight)
- Subject: re: Loading a private framework from a plug-in (Spotlight)
- From: George Warner <email@hidden>
- Date: Tue, 20 Feb 2007 10:47:19 -0800
- Thread-topic: Loading a private framework from a plug-in (Spotlight)
On Mon, 19 Feb 2007 23:57:13 -0500, "Philippe Casgrain"
<email@hidden> wrote:
> I have a private framework ("FileIO.framework"), which is embedded in my app
bundle. The framework is built with an install path of
"@executable_path/../Frameworks/": it works great with my application, and is
reusable in other applications.
>[...]
> I would like for this plugin to use my private "FileIO.framework" instead of
the current solution of linking in static code in the plugin, which duplicates
FileIO code in two places.
You might try using "@loader_path/../Frameworks/" instead...
See:
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/DynamicL
ibraries/Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP
40002013-SW21>
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden