Re: Targets & styles question
Re: Targets & styles question
- Subject: Re: Targets & styles question
- From: Scott Tooker <email@hidden>
- Date: Mon, 26 Jan 2004 15:49:29 -0800
With the build styles, just search the General collection for "Product
Name" and set that setting. The build style and target build inspector
panes both use the exact same UI. Unlike the old classic, PB-style
targets the general model is to search for the setting you want and set
it (instead of adding a build setting with that name).
Scott
On Jan 20, 2004, at 8:23 AM, Wade Williams wrote:
> 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 tried adding "Product Name" to the development build style with the
> intention of overriding the target Product Name, but it would not
> allow any values with a space in the name - I mean the setting name,
> not the product name (i.e. it wouldn't accept "Product Name" because
> of the space).
>
> 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.
>
> So, can anyone give advice on how to setup Xcode to produce a
> differently named binary for debug and deployment builds?
>
> Thanks,
>
> Wade
> _______________________________________________
> 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.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.