Re: @executable_path related question
Re: @executable_path related question
- Subject: Re: @executable_path related question
- From: Vyacheslav Karamov <email@hidden>
- Date: Thu, 24 Mar 2011 15:36:50 +0200
24-Mar-11 15:03, Christiaan Hofman пишет:
On Mar 24, 2011, at 13:58, Vyacheslav Karamov wrote:
Hi All!
I have written IB 3.2.6 plug-in, but it's loaded under XCode debugging session only.
My plug-in has dependencies such as
@executable_path/../Frameworks/СLControls.framework/Versions/A/СLControls
but how @executable_path will be expanded when it is loaded under Interface Builder?
This is always expanded to the location of the launched executable itself, so in this case that of IB. If you want to have a path relative to the executable that loads an embedded framework (i.e. your plugin), you should use @loader_path instead.
Christiaan
Thank yo for urgent help.
But what if I have more complicated dependency tree?
I.e.
1) plug-in depends on CLControls.framework, CLKeymapper.framework,
CLCommon.framework
2) CLControls.framework depends on CLKeymapper.framework,
CLCommon.framework, libKeymapTables.dylib
3) CLKeymapper.framework depends on libKeymapTables.dylib,
CLCommon.framework
_______________________________________________
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