From 61005e10ea40b122fc6546cf3094a6cd5fbeb808 Mon Sep 17 00:00:00 2001 From: Akemi Date: Sat, 24 Nov 2018 13:14:22 +0100 Subject: build: bump minimum swift version to 3.0.2 #6299 reported problems with earlier 3.0.x swift versions. i tested with 3.0.2/SDK 10.12.2 and just assumed it also works with the older 3.0.x swift and 10.12.x SDK versions. due to the unstable nature of swift there were slight API differences that caused build problems. since swift is bundled with the SDK we just bump the minimum swift version. --- waftools/checks/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index fe0c079df1..ed5865a25c 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -114,7 +114,7 @@ def check_cocoa(ctx, dependency_identifier): return res def check_swift(ctx, dependency_identifier): - minVer = StrictVersion("3.0") + minVer = StrictVersion("3.0.2") if ctx.env.SWIFT_VERSION: if StrictVersion(ctx.env.SWIFT_VERSION) >= minVer: ctx.add_optional_message(dependency_identifier, -- cgit v1.2.3