• 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[2]: Custom embedded framework not working [Solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: Custom embedded framework not working [Solved]


  • Subject: Re[2]: Custom embedded framework not working [Solved]
  • From: Peter Mulholland <email@hidden>
  • Date: Sat, 28 Jul 2007 21:31:00 +0100

Hello Ken,

Saturday, July 28, 2007, 8:32:52 PM, you wrote:

> While this solves the embedding problem, it still requires framework
> projects to specify their deploy location. There must be a way to
> embed a framework without this customization so if anyone knows of a
> way, it would be a big help

No, it doesn't. The @executable_path is parsed by the loader, not
Xcode, so it is always relative to where the executable (and
therefore, the app bundle) is located.

Admittedly, this is not terribly well documented by Apple! I
discovered this only after seeing it in several other Framework
projects... SDL, vorbis, etc.

The only other way of solving this problem is to use
install_name_tool. It really wasn't one of Apple's brightest moves to
hard-code library load paths into binaries.

--
Best regards,
 Peter                            mailto:email@hidden

 _______________________________________________
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: Re[2]: Custom embedded framework not working [Solved]
      • From: "Kyle Sluder" <email@hidden>
    • Re: Re[2]: Custom embedded framework not working [Solved]
      • From: Ken Tozier <email@hidden>
References: 
 >Custom embedded framework not working (From: Ken Tozier <email@hidden>)
 >Re: Custom embedded framework not working [Solved] (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Custom embedded framework not working [Solved]
  • Next by Date: Classes and Other Sources an a Cocoa project?
  • Previous by thread: Re: Custom embedded framework not working [Solved]
  • Next by thread: Re: Re[2]: Custom embedded framework not working [Solved]
  • Index(es):
    • Date
    • Thread