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: Building nested frameworks



I just read a fair amount of the documentation regarding umbrella frameworks, and I saw -- in the ChatKit notes -- matters regarding special commands to use to be able to embed the framework. The deciding factor, however, is that Apple basically says "Don't use Umbrella Frameworks". In my experience when I do things Apple says not to do, minor updates to Xcode or OS X break my stuff and I spend a weekend tearing my hair out.

So, oh well. I'm just statically building the sub frameworks into my own. 

Thanks for the help, though. And nice work, btw. ChatKit's pretty slick.


    "yeah, well, that's just like your *opinion*, man."
        -- the Dude


On Aug 29, 2006, at 5:46 PM, Shamyl Zakariya wrote:

"Umbrella Framework"

Aha! Now I have -- at the very least -- a term I can search the documentation for. I'll be looking into ChatKit as well. Thank you!

    "negative, i am a meat popsicle."
        -- Major Korben Dallas


On Aug 29, 2006, at 5:30 PM, Ofri Wolfus wrote:

If you can require 10.4 and above, using @loader_path/../Framework for all your sub frameworks will work without problems (or you'd have to figure a combination with @executable_path that'll work). Frameworks that contain other frameworks are called umbrella frameworks, and you must create them as such. An umbrella framework must link to all of its sub frameworks, AND you must add the "-sub_umbrella MySubFramework" linker flag for each sub framework it has. If you need an example you can take a look at how we do it with ChatKit (http://chatkit.net).

- Ofri

- - - - - - - - - - - - - - - - - - -
http://www.dpompa.com
- - - - - - - - - - - - - - - - - - -



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Building nested frameworks (From: Shamyl Zakariya <email@hidden>)
 >Re: Building nested frameworks (From: Ofri Wolfus <email@hidden>)
 >Re: Building nested frameworks (From: Shamyl Zakariya <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.