Re: Can I set build configurations in Swift code?
Re: Can I set build configurations in Swift code?
- Subject: Re: Can I set build configurations in Swift code?
- From: Chris Lattner <email@hidden>
- Date: Mon, 07 Jul 2014 21:20:06 -0700
On Jul 7, 2014, at 8:50 PM, Gerriet M. Denkmann <email@hidden> wrote:
> But: I get lots of warnings "Will never be executed" for all OTHER_FLAGs.
> I do NOT want to switch off this warning, as it probably is rather useful.
> But I do much prefer to have code which compiles without warnings.
>
> So: is there a way to define build configurations in code (other than in the Build Settings of Xcode) ?
>
> Or: how else to handle conditionally compiled code in Swift?
Interesting: we don't have a good solution for this at the moment, please file a radar.
-Chris
_______________________________________________
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