Re: Managing executable frameworks for multiple projects
Re: Managing executable frameworks for multiple projects
- Subject: Re: Managing executable frameworks for multiple projects
- From: George Warner <email@hidden>
- Date: Sat, 15 Nov 2003 12:06:18 -0800
on 11/15/03 12:18 AM, Markus Hitter at <email@hidden> wrote:
> Am 14.11.2003 um 18:26 schrieb George Warner:
>> On Thu, 13 Nov 2003 23:49:22 -0600, tobias <email@hidden> wrote:
>>> I'm building executable based frameworks that are meant to be shared
>>> across a suite of applications. I would like to copy these to a
>>> common
>>> directory that users of these frameworks can then access to add them
>>> to
>>> their projects. Where should this place be? Is there a standard way
>>> to manage this? Any suggestions?
>>
>> There is really only one answer to this question: /Library/Frameworks/.
>
> Hmm -
>
> 2) or $HOME/Library/Frameworks if you want to have it installable
> without admin rights.
This is true if you don't have to share with anyone else. ;-)
> 3) Include the Framework to every app and, on consecutive
> installations, let the Installer symlink the framework to the one
> installed with the first app instead of installing a duplicate. If done
> with hard links, you even can remove the first installation and the
> files stay in place for the second app.
This is a lot more likely to break and it won't work across volumes.
> Am 14.11.2003 um 20:36 schrieb Dave Rehring:
>
>> My understanding of frameworks is that if you add them to your
>> project, the framework either needs to be at that same location or
>> with one level of redirection using the @executable [well something
>> like this] hack.
>
> I'm not aware of any technical reason for such a requirement.
The system has to know where to find a dylib at runtime. This info is hard
wired into the executable that's linked to the dylib and will be the
location of the dylib at linktime unless it's overidden by explicitly
defining the dylib's install location. The install location of a framework
in your own application is "@executable/../Frameworks/".
--
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.