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

Re: Application bound Frameworks


  • Subject: Re: Application bound Frameworks
  • From: George Warner <email@hidden>
  • Date: Fri, 05 Dec 2003 09:00:40 -0800

On Fri, 5 Dec 2003 15:57:54 +1100, Ben Golding <email@hidden>
wrote:
> On 05/12/2003, at 07:30, Brian Barnes wrote:
>> How can I make a framework part of the application bundle.  Do I do it
>> the hard way (i.e., drop the framework into app/contents/frameworks/)
>> and then link in the framework from that location?  Or is there some
>> switch I'm missing that moves it automatically from another location?
>
> We've just been working through this and had the same trouble trying to
> find out how to do it.
>
> We eventually got it to work by changing the install location of the
> framework.  That is, select the framework target, get info, and then in
> the settings there set "INSTALL_PATH" to an empty string; it was
> /Library/Frameworks.
>
> I wish this was documented somewhere so that I could be sure I was
> doing it the right way.

To tell a framework project that it will be run from an executables
"framework" directory:

Get Info "Framework" ->"Target" tab -> "install path" field
"@executable_path/../Frameworks"

Search <http:developer.apple.com> for "executable_path" to see where this is
documented in the release notes and Mac OS X documentation.

--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Build completes after touch
  • Next by Date: Re: Build completes after touch
  • Previous by thread: Re: Application bound Frameworks
  • Next by thread: Xcode not working with .s files proper, like
  • Index(es):
    • Date
    • Thread