• 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: Mon, 27 Feb 2006 18:47:24 +1100

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.


Is there anyway to debug both at the same time?

Ah, that's a little tricky - some other Pref Pane developer said they wrote a very small additional app that just hosted their pref pane, then debugged the host and the pref pane together. That's because debugging System Preferences is a bit hard without the source.


Debugging the faceless app is another problem in itself. I'd suggest debugging it separately - one code base for one executable. Any reason you need the running at the same time? If they both have to be running, I'd suggest building one as deployment and one as development and debug one at a time (that's what I do with a different, client/server project). Just simplifies things a great deal.

Both are Universal Binaries if it matters.

Doesn't matter much AFAIK - Xcode will adhere to what ever build settings you have for each target.


Heath
--
 ____________________________________________________
|   Heath Raftery                                    |
|   email@hidden                           |
|   *A mind all logic is like a knife all blade -    |
|      it makes the hand bleed that uses it.*        |
|              - Rabindranath Tagore     _\|/_       |
|_______________________________________m(. .)m______|

_______________________________________________
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: Single project or two separate projects?
      • From: Trygve Inda <email@hidden>
    • Re: Single project or two separate projects?
      • From: Trygve Inda <email@hidden>
References: 
 >Single project or two separate projects? (From: Trygve Inda <email@hidden>)

  • Prev by Date: .pch not working under XCode 2.2
  • Next by Date: Re: Distributed Builds - Overloading System
  • Previous by thread: Single project or two separate projects?
  • Next by thread: Re: Single project or two separate projects?
  • Index(es):
    • Date
    • Thread