• 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
Re: Building an agent app into another app's bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Fri, 6 Mar 2009 12:53:10 -0800


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.

I'm unable to do this. I use the Condensed view.

Do you mean, drag A's target from within A's project window? Or from within somewhere in U's project window? I can't find a target for A inside U, but inside A, I can attempt to drag the target from the A project window onto the U target in U's project window. However, Xcode refuses to let me drop it anywhere.

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


References: 
 >Building an agent app into another app's bundle (From: Rick Mann <email@hidden>)
 >Re: Building an agent app into another app's bundle (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Applying number formatter to table view column - newbie question?
  • Next by Date: No such file or directory
  • Previous by thread: Re: Building an agent app into another app's bundle
  • Next by thread: Re: Building an agent app into another app's bundle
  • Index(es):
    • Date
    • Thread