Re: xcode-users digest, Vol 1 #232 - 14 msgs
Re: xcode-users digest, Vol 1 #232 - 14 msgs
- Subject: Re: xcode-users digest, Vol 1 #232 - 14 msgs
- From: Steve Mills <email@hidden>
- Date: Fri, 23 Jan 2004 09:06:16 -0600
From: Wade Williams <email@hidden>
Subject: Resend:Targets & styles question
Date: Thu, 22 Jan 2004 16:33:58 -0600
Coming from the Codewarrior world, I'm used to creating a different
target for debug and production builds. The debug build obviously has
optimizations off, and outputs a "binary" of appname_debug.app. The
production build turns optimizations on, removes symbols and creates
appname.app.
I'm trying to replicate that in Xcode. In Xcode, it appears the thing
to do is use one target, and build styles. However, I'd really like
the application to be named differently if I'm building the debug
version - I don't want to take any chances on forgetting to change a
build style and sending out a debug version.
I switched between using build styles and separate targets about 4
times now. I think I've settled on using separate targets because it
allows the app names to be different. It took me a while to figure out
that I needed 2 different info.plist files, because the app name kept
switching back.
Obviously I could create a debug target, but since build styles are
global, I'd have to remember to switch to the deployment build style
when building the production target and then back to the development
style for the development target.
What do you mean by "global"? I thought they were project-centric?
Besides, you still have to choose which style you want to build, just
like you have to with targets, right?
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.