Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Single project or two separate projects?



 >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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.