• 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
Resend:Targets & styles question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resend:Targets & styles question


  • Subject: Resend:Targets & styles question
  • From: Wade Williams <email@hidden>
  • Date: Thu, 22 Jan 2004 16:33:58 -0600

I'm surprised this didn't generate any discussion. Maybe a lot of folks just missed it.

Can anyone provide some input?

-----------

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

  • Follow-Ups:
    • Re: Resend:Targets & styles question
      • From: James Conway <email@hidden>
    • Re: Resend:Targets & styles question
      • From: Jens Miltner <email@hidden>
    • Re: Resend:Targets & styles question
      • From: Kevin Grant <email@hidden>
  • Prev by Date: fix and continue
  • Next by Date: Re: fix and continue
  • Previous by thread: Re: fix and continue
  • Next by thread: Re: Resend:Targets & styles question
  • Index(es):
    • Date
    • Thread