Frameworks Inside Applications
Frameworks Inside Applications
- Subject: Frameworks Inside Applications
- From: "Clark S. Cox III" <email@hidden>
- Date: Tue, 4 Dec 2001 15:08:39 -0500
In an application that I am building, I have a framework that is
linked to by several plugins and the application itself. Everything works
fine when I launch from PB, or I copy the framework to one of the
predefined locations (i.e. /Library/Frameworks/ et.al.), but I want to be
able to store it inside the application bundle itself (like OmniWeb and
others).
After reading over the relevant sections of
<file:///Developer/Documentation/Essentials/SystemOverview/> several times,
and looking at the internal structure of OmniWeb.app, I concluded that I
could copy the framework (during my PB build) to <app>/Contents/Frameworks
or to <app>/Contents/SharedFrameworks, and all would be well. Of course,
nothing ever works the first time :)
When I launch my app (outside of PB), it obviously can't find the
framework, as it doesn't even get a full bounce in before it dies. I
assume that I have to pass some special flags to ld, but I can't figure
out which. Any help would be appreciated.
--
Clark S. Cox, III
email@hidden
http://www.whereismyhead.com/clark/