Embedding frameworks in a palette
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.