• 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
Embedding frameworks in a palette
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Embedding frameworks in a palette


  • Subject: Embedding frameworks in a palette
  • From: Sailor Quasar <email@hidden>
  • Date: Fri, 10 Oct 2003 13:29:24 -0400

Here's a stumper for you all...

It's simple enough to embed a private framework in an application. Set the framework's install path to @executable_path/../Frameworks, do a Copy Files phase for the application build, etc. etc.

Now... suppose you want to embed a private framework within any sort of plugin bundle. In my case, an IB Palette. The above trick doesn't work anymore. This makes reasonable sense, since @executable_path would become the path to IB, not the palette's bundle, when loaded in IB's context. How, then, do I juggle the install path and all of that so that my palette can use a private framework without having to dump it /Library/Frameworks or ~/Library/Frameworks?

-- Sailor Quasar, High Codemaster of the Web, scourge of systems
MacOS is to Windows as Terminus is to Trantor.
Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Embedding frameworks in a palette
      • From: Clark Cox <email@hidden>
  • Prev by Date: Re: how to warn users of wrong system
  • Next by Date: Re: Installer problems
  • Previous by thread: Re: how to warn users of wrong system
  • Next by thread: Re: Embedding frameworks in a palette
  • Index(es):
    • Date
    • Thread