Re: Installing/distributing frameworks
Re: Installing/distributing frameworks
- Subject: Re: Installing/distributing frameworks
- From: "R. Tony Goold" <email@hidden>
- Date: Sun, 29 Jul 2001 13:03:39 -0400
There is a system code which makes a list of all possible frameworks, and
makes sure that apps use the most recent one (even should it be from a
different application). There is a proper support for apps which need
older version, etc. So, this is supported quite well.
I'm very curious to understand how this works... If I have
/Applications/Poodle.app containing Dog.framework 1.0 and
/Applications/Terrier.app containing Dog.framework 1.1, does this mean the
next time I run Poodle.app it will use Dog.framework 1.1 (from Terrier.app)
unless its code explicitly states that it only wants up to 1.0? Does this
only apply to applications installed in the /Applications (and /Developer/
Applications?) folders?
If so, then it would be possible to write a script that, run as root,
copies the latest framework into /Library/Frameworks and removes it (or
replaces it with a stub) in all applications that do not restrict the
framework version (assuming this is easy to determine programmatically),
correct?
Cheers,
Tony