Re: Building an agent app into another app's bundle
Re: Building an agent app into another app's bundle
- Subject: Re: Building an agent app into another app's bundle
- From: Rick Mann <email@hidden>
- Date: Thu, 5 Mar 2009 23:27:29 -0800
Thanks!
On Mar 5, 2009, at 19:41:26, Chris Espinosa wrote:
On Mar 5, 2009, at 7:17 PM, Rick Mann wrote:
I have a Cocoa app (call it "U") that provides a UI for a user
agent Cocoa app (call it "A"). I have two projects, one for each
app. I'd like to set up Xcode so that when I build the UI app
("U"), it builds the agent app ("A"), and then (a copy of) A.app
should end up inside U.app's bundle.
How do I set up Xcode to do this? If this is already documented,
can someone point me to it?
1) Drag project A into project U. This creates a cross-project
reference from U to A, and makes A's targets and build products
available to U.
2) In project U, drag A's target into the target for U. That
creates a project dependency: when you build U, it makes sure A is
up to date.
3) Still in project U, drag A's build product (A.app) into the Copy
Bundle Resources build phase for target U. That causes A.app to be
copied into U.app/Contents/Resources when U is built.
That's pretty much it.
Chris
--
Rick
_______________________________________________
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