From 7f178e4f4227b9ef5559d9fa9820b62a233df800 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Sat, 17 Jan 2015 21:21:10 -0800 Subject: [PATCH] Try using 5.1.1 as the default deployment instead --- tools/platforms/IOSPlatform.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/platforms/IOSPlatform.hx b/tools/platforms/IOSPlatform.hx index 338102931..7fa91d1f8 100644 --- a/tools/platforms/IOSPlatform.hx +++ b/tools/platforms/IOSPlatform.hx @@ -154,7 +154,7 @@ class IOSPlatform extends PlatformTarget { if (project.config.getString ("ios.device", "universal") == "universal" || project.config.getString ("ios.device") == "iphone") { - if (project.config.getInt ("ios.deployment", 6) < 5) { + if (project.config.getFloat ("ios.deployment", 5.1) < 5) { ArrayHelper.addUnique (architectures, Architecture.ARMV6); @@ -197,7 +197,7 @@ class IOSPlatform extends PlatformTarget { context.ARMV7S = armv7s; context.ARM64 = arm64; context.TARGET_DEVICES = switch (project.config.getString ("ios.device", "universal")) { case "iphone": "1"; case "ipad": "2"; default: "1,2"; } - context.DEPLOYMENT = project.config.getInt ("ios.deployment", 6); + context.DEPLOYMENT = project.config.getString ("ios.deployment", "5.1.1"); if (project.config.getString ("ios.compiler") == "llvm" || project.config.getString ("ios.compiler", "clang") == "clang") {