• 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: Jim Wintermyre <email@hidden>
  • Date: Mon, 1 May 2006 13:56:03 -0700

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

Note that if you do this, XCode may strip the debug symbols from the copied file. There is a setting ("Strip Debug Symbols During Copy") which controls this. At some point, this was introduced and changed the behavior from ProjectBuilder. I had an IOKit driver with an included sub-kext in its Plug-Ins folder, and I couldn't figure out why I could no longer debug this sub-kext. I eventually just changed the Copy phase to do it manually with a shell script, but now I see that this was the reason.


Jim
_______________________________________________
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: Unsupported major.minor version 49.0
  • Next by Date: Re: ConvertMovieSndTrack Sample crashes on i386
  • Previous by thread: Re: Single project or two separate projects?
  • Next by thread: Alternative SCM in Xcode
  • Index(es):
    • Date
    • Thread