[swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.
James Campbell
james at supmenow.com
Thu Mar 24 11:21:32 CDT 2016
Explained in rest of the thread. It seems that in Xcode 7.2 if you
specified a C Macro in the build settings it was imported (i.e
API_VERSION=2). However in Xcode 7.3, only ones specified in code are
imported *not* ones specified in a build setting.
*___________________________________*
*James⎥Head Of CEO*
*james at supmenow.com <james at supmenow.com>⎥supmenow.com <http://supmenow.com>*
*Sup*
*Runway East *
*10 Finsbury Square*
*London*
* EC2A 1AF *
On Wed, Mar 23, 2016 at 5:27 PM, Jan Neumüller <swift-users at swift.org>
wrote:
> What macros? Swift doesn’t have macros - thanks the lord...
>
> Jan Neumüller
> --
> GPG/PGP-Key: http://www.slayers.de/transfer/Jan_GPG_pub.asc
>
> On 23.03.2016, at 17:43, James Campbell via swift-users <
> swift-users at swift.org> wrote:
>
> We are experiencing an issue when compiling swift code under Xcode 7.3.
>
> Preprocessor macros specified in the Xcode Project aren't imported into
> swift. Ones manually declared in code are imported fine.
>
> Specifying Xcode 7.3 to use the Xcode 7.2 toolchain (Swift 2.1 etc) has no
> effect on this.
>
> This is preventing us from using Xcode 7.3 and being able to test for 9.3.
> Anybody else getting this issue?
>
> *___________________________________*
>
> *James⎥Lead Engineer*
>
> *james at supmenow.com <james at supmenow.com>⎥supmenow.com
> <http://supmenow.com/>*
>
> *Sup*
>
> *Runway East *
>
> *10 Finsbury Square*
>
> *London*
>
> * EC2A 1AF *
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
>
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160324/3408ef30/attachment.html>
More information about the swift-users
mailing list