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

Targets & styles question


  • Subject: Targets & styles question
  • From: Wade Williams <email@hidden>
  • Date: Tue, 20 Jan 2004 10:23:50 -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 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.

  • Follow-Ups:
    • Re: Targets & styles question
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: error: parse error before `;' token ???
  • Next by Date: Re: error: parse error before `;' token ???
  • Previous by thread: Re: How to build a component?
  • Next by thread: Re: Targets & styles question
  • Index(es):
    • Date
    • Thread