Mailing Lists: Apple Mailing Lists

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

Installing/distributing frameworks



Started playing around with making my first framework, a Cocoa wrapper around PCRE (http://www.pcre.org) for regular expressions. Also, I was toying with the Omni Frameworks.

I've got a question about distributing and possibly installing these frameworks with my apps. Peeking at OmniWeb, I noticed that that app has a copy of all the frameworks it uses, right in the app contents. I noticed that the app VNCDimension uses some Omni frameworks and contains its own copies of some of the same frameworks.

Is this the way it should be done? Because this seems like there'll be a lot of duplicate copies of the same frameworks all over my system, especially since I plan on building a bunch of small apps that will use my PCRE framework.

Should there be some way, maybe through an installer program, to install a new framework in a central location if it's needed? Say /System/Library/Frameworks, or ~/Library/Frameworks? This makes me think that this might lead to some DLL Hell with versioning if two apps use the same framework with different revisions. Is this why every app has its own copies?

Ugh.

--
Leslie Michael Orchard <email@hidden>
ICQ: 492905 (home) 11082089 (work)
"...see you space cowboy..."




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.