• 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
Re: How to switch between Debug and Release builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to switch between Debug and Release builds


  • Subject: Re: How to switch between Debug and Release builds
  • From: Alexander von Below <email@hidden>
  • Date: Tue, 14 Oct 2014 11:09:11 +0200

Appa Rao is right.

I, for example use

OTHER_CFLAGS = -DCONFIGURATION_${CONFIGURATION}=1

That will generate CONFIGURATION_Debug and CONFIGURATION_Release Macros

To switch to Release, either use "Product -> Build For … Profiling" for example. Alternatively, you can edit the current Scheme or create a new Scheme which builds for Release

Alex


Am 14.10.2014 um 10:57 schrieb Appa Rao Mulpuri <email@hidden>:

> No need of different prefix files for different targets. Use one prefix file with conditional macros.
>
> From: "email@hidden" <email@hidden>
> Date: Tuesday, October 14, 2014 at 2:22 PM
> To: Xcode Users <email@hidden>
> Subject: How to switch between Debug and Release builds
>
> Hi,
>
> We work with Xcode 6.0.1. Our project has multiple targets. Per target
> we have a different Prefix Header, one for Debug and one for Release.
>
> Default Xcode builds for Debug, how can I activate the Release build?
>
> --
> Met vriendelijke groeten,
> Perry Winkel
>
>
> <logo_small.gif>
>
>
>
>
> ZenoPX
> http://www.zenopx.nl
>
> Ir. P.F.M. Winkel
> +31(0)620-973979
> +31(0)26-8800407
>
> This email and any attachments are confidential, and may be legally privileged and protected by copyright. If you are not the intended recipient dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system. Any views or opinions are solely those of the sender. This communication is not intended to form a binding contract unless expressly indicated to the contrary and properly authorised. Any actions taken on the basis of this email are at the recipient's own risk.
> <logo_small.gif> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Auto Layout Illegal Configuration error
  • Next by Date: Impossible to run image picker or camera in landscape mode?
  • Previous by thread: Re: Auto Layout Illegal Configuration error
  • Next by thread: Impossible to run image picker or camera in landscape mode?
  • Index(es):
    • Date
    • Thread