• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: @executable_path related question (solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @executable_path related question (solved)


  • Subject: Re: @executable_path related question (solved)
  • From: Jeff Johnson <email@hidden>
  • Date: Fri, 25 Mar 2011 10:25:18 -0500

Hi Vyacheslav.

You might find my old blog post helpful:

http://lapcatsoftware.com/blog/2007/08/11/embedding-frameworks-in-loadable-bundles/

-Jeff


On Mar 25, 2011, at 10:11 AM, Vyacheslav Karamov wrote:

> 24-Mar-11 15:36, Vyacheslav Karamov пишет:
>> 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
> I've solved this problem by changing $(INSTALL_PATH) of all dependencies to $(USER_LIBRARY_DIR)/Frameworks, rebuilding them and then copying to ~/Library/Frameworks. I'm confused, because as far as I know, system must check
>
> /Library/Frameworks,
>
> /Network/Library/Frameworks,
>
> /System/Library/Frameworks

 _______________________________________________
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

References: 
 >@executable_path related question (From: Vyacheslav Karamov <email@hidden>)
 >Re: @executable_path related question (From: Christiaan Hofman <email@hidden>)
 >Re: @executable_path related question (From: Vyacheslav Karamov <email@hidden>)
 >Re: @executable_path related question (solved) (From: Vyacheslav Karamov <email@hidden>)

  • Prev by Date: Re: Why does XCode 4 always open files up to maximum size?
  • Next by Date: Re: Xcode 4.0.1
  • Previous by thread: Re: @executable_path related question (solved)
  • Next by thread: search and ye shall not find in Xcode 4 docs
  • Index(es):
    • Date
    • Thread