• 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
PrefPane with embedded App - Shared Resources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PrefPane with embedded App - Shared Resources


  • Subject: PrefPane with embedded App - Shared Resources
  • From: Tobias Zimmerman <email@hidden>
  • Date: Mon, 02 Mar 2009 10:51:06 -0500
  • Thread-topic: PrefPane with embedded App - Shared Resources

Title: PrefPane with embedded App - Shared Resources
Sorry if this is a newbie question.

I am developing a PrefPane with an embedded/included application.  The ‘pane and app share code and resources.  For reasons I won’t go into here (see Cocoa-Dev), a shared framework won’t work for me.

Right now, I am embedding the app in the ‘pane using a “copy files” phase in the build.  However, this results in two separate Resource directories (one at the ‘pane level  and one inside the app bundle).  I would like the app and the ‘pane to share resources.

I am at a bit of a loss as to the best way to do this and how to actually set it up in Xcode.  The two options I see are (1) build the executable of the app at the same level as the ‘pane; or (2) symlink the app’s “Resources” directory to the higher level “Resources” directory of the ‘pane.

My question: which is the better method (if either), and how do I actually accomplish it in Xcode?  I would like a solution that works transparently across build configurations so I don’t have to remember extra build steps when switching between Debug and Release.

Thanks in advance
 _______________________________________________
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: Information request on DWARF dsym reader
  • Next by Date: Re: variable viewing in gdb window
  • Previous by thread: Re: Information request on DWARF dsym reader
  • Next by thread: Re: PrefPane with embedded App - Shared Resources
  • Index(es):
    • Date
    • Thread