• 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: Single project or two separate projects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single project or two separate projects?


  • Subject: Re: Single project or two separate projects?
  • From: Heath Raftery <email@hidden>
  • Date: Tue, 2 May 2006 00:37:31 +1000

On 30/04/2006, at 12:35 AM, Trygve Inda wrote:

Trygve,

On 27/02/2006, at 12:47 AM, Trygve Inda wrote: I have a Cocoa- based System
Pref Pane and it will need to communicate with a Carbon-based background app
(no GUI) to do some work. The Carbon app is meant to be embedded in the
Cocoa's bundle so the user sees only a single app/file.


I have a Cocoa Sys Pref that communicates with a C daemon.

Can I put these into a single Xcode project?

Yep. That's the way I do it. The build process can put the faceless app in the Pref Pane's bundle for you, as well as building it first if it has been touched.

Can someone please explain how to do this? I gather that I need to setup a
second target... One being a pref pane and one a Carbon-based faceless app.
How do I force the carbon app to build first and get places in the cocoa
bundle?

Yep. Open the options for the pref pane target, and drag the faceless app target into the dependencies list for the pref pane target. That takes care of building requirements. To get it in the right place, add a "copy files" step to your pref pane target. You can specify the location inside the bundle by simply using the destination pull down menu that appears in the "copy files" window.


Heath
_______________________________________________
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: Single project or two separate projects?
  • Next by Date: Alternative SCM in Xcode
  • Previous by thread: Re: Single project or two separate projects?
  • Next by thread: Re: Single project or two separate projects?
  • Index(es):
    • Date
    • Thread