Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing/distributing frameworks



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


References: 
 >Re: Installing/distributing frameworks (From: Ondra Cada <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.