• 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: Help, in Framework Hell!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help, in Framework Hell!


  • Subject: Re: Help, in Framework Hell!
  • From: Brian Hill <email@hidden>
  • Date: Sun, 5 Aug 2001 14:54:15 -0500

On Sunday, August 5, 2001, at 05:52 AM, Steve Gehrman wrote:


I added the framework to my app.
I added the copy files build phase
I rebuilt the OmniAppkit with the @executable_path/../Frameworks stuff
I set the SKIP_INSTALL to YES

Did you rebuild the app with the '@executable_path/../Frameworks' added to *it's* frameworks paths? You need to set this in the application executable target as well.

In the a common case where I'm building a framework into a common build directory, The Frameworks section of the apps using that framework has these paths listed:

Frameworks:
/Users/Shared/BuildProducts
@executable_path/../Frameworks

It doesn't matter so much what paths the framework was built with unless it relies on other frameworks. In that case, maybe you need to add a './' to the Frameworks paths for the framework build, since it will look in the same directory it's in for the other frameworks at runtime (sheesh, I just read that last sentence and it's kind of confusing...).

Brian



email@hidden http://personalpages.tds.net/~brian_hill

"Why? I came into this game for adventure - go anywhere, travel
light, get in, get out, wherever there's trouble, a man alone.
Now they've got the whole country sectioned off and you can't
move without a form. I'm the last of a breed."
-- Archibald "Harry" Tuttle, Rogue HVAC Repairman


References: 
 >Help, in Framework Hell! (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Re: Multithreaded App - Help
  • Next by Date: Re: Bug in NSFormatter (again)?
  • Previous by thread: Re: Help, in Framework Hell!
  • Next by thread: Bug in NSFormatter (again)?
  • Index(es):
    • Date
    • Thread