• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to build nested frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to build nested frameworks


  • Subject: How to build nested frameworks
  • From: Shamyl Zakariya <email@hidden>
  • Date: Mon, 21 Aug 2006 15:12:28 -0400

I'm refactoring a bunch of base-code which I use -- all the time in a fair number of minor and major projects -- into a single framework. This is simple enough, I'll just make a framework and set the "Installation Directory" to @executable_path/../Frameworks. I've done this plenty of times.

However, in this case, the framework I want to build references a few separate frameworks, which are not mine ( open source stuff, GLEW ( glew.sf.net ), SlotSig ( slotsig.sf.net ) and ODE( ode.org ) ). I've already built each of these as an embeddable framework ( with the executable path set as I mentioned above ). My basecode links against these frameworks, and the apps which will use the base code will use and link against these frameworks as well.

So what I want is the target framework, "SimpleGameFramework" to include these in a Frameworks subfolder, the way /System/Library/ Frameworks/ApplicationServices.framework does.

My questions are:

1) Can I just add a copy files build phase to put those frameworks in, the way I would for an app?
2) When those frameworks are in place, can my app code #include <ode/ ode.h> the way it could if the framework *weren't* embedded in SimpleGameFramework?
3) Will it link? E.g., can nested frameworks be embedded in a .app bundle application?


Basically, I want this as simple as possible for me, since I write a lot of one-off simple apps to test functionality, and it'd be ideal if I could just make a cocoa project, drop in SimpleGameFramework.framework and be ready to code.

Thanks,

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


_______________________________________________ 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
  • Prev by Date: Re: EXC_BAD_ACCESS error
  • Next by Date: RE: EXC_BAD_ACCESS error
  • Previous by thread: Re: EXC_BAD_ACCESS error
  • Next by thread: *** file inconsistency: read 'I', expecting 'L'
  • Index(es):
    • Date
    • Thread