• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: @executable_path related question (solved)
      • From: Vyacheslav Karamov <email@hidden>
References: 
 >@executable_path related question (From: Vyacheslav Karamov <email@hidden>)
 >Re: @executable_path related question (From: Christiaan Hofman <email@hidden>)

  • Prev by Date: Re: @executable_path related question
  • Next by Date: Re: Why does XCode 4 always open files up to maximum size?
  • Previous by thread: Re: @executable_path related question
  • Next by thread: Re: @executable_path related question (solved)
  • Index(es):
    • Date
    • Thread