• 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: Chris Espinosa <email@hidden>
  • Date: Thu, 5 Mar 2009 19:41:26 -0800


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
_______________________________________________
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


  • Follow-Ups:
    • Re: Building an agent app into another app's bundle
      • From: Jens Miltner <email@hidden>
    • Re: 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: Rick Mann <email@hidden>
References: 
 >Building an agent app into another app's bundle (From: Rick Mann <email@hidden>)

  • Prev by Date: Building an agent app into another app's bundle
  • Next by Date: IB 3.1.2 Bug
  • Previous by thread: 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