From b7f939b6aa73801dbfdcbf872afe64f06ea064b3 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Wed, 6 Jan 2021 09:52:36 -0800 Subject: [PATCH] Make iOS default deployment 9 (increased from 8) --- tools/platforms/IOSPlatform.hx | 6 +++--- tools/platforms/TVOSPlatform.hx | 10 ---------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/tools/platforms/IOSPlatform.hx b/tools/platforms/IOSPlatform.hx index 1a962392b..a73e9842f 100644 --- a/tools/platforms/IOSPlatform.hx +++ b/tools/platforms/IOSPlatform.hx @@ -182,7 +182,7 @@ class IOSPlatform extends PlatformTarget if (project.config.getString("ios.device", "universal") == "universal" || project.config.getString("ios.device") == "iphone") { - if (project.config.getFloat("ios.deployment", 8) < 5) + if (project.config.getFloat("ios.deployment", 9) < 5) { ArrayTools.addUnique(architectures, Architecture.ARMV6); } @@ -242,14 +242,14 @@ class IOSPlatform extends PlatformTarget case "ipad": "2"; default: "1,2"; } - context.DEPLOYMENT = project.config.getString("ios.deployment", "8.0"); + context.DEPLOYMENT = project.config.getString("ios.deployment", "9.0"); if (project.config.getString("ios.compiler") == "llvm" || project.config.getString("ios.compiler", "clang") == "clang") { context.OBJC_ARC = true; } - // context.ENABLE_BITCODE = (project.config.getFloat ("ios.deployment", 8) >= 6); + // context.ENABLE_BITCODE = (project.config.getFloat ("ios.deployment", 9) >= 6); context.ENABLE_BITCODE = project.config.getBool("ios.enable-bitcode", false); context.IOS_COMPILER = project.config.getString("ios.compiler", "clang"); context.CPP_BUILD_LIBRARY = project.config.getString("cpp.buildLibrary", "hxcpp"); diff --git a/tools/platforms/TVOSPlatform.hx b/tools/platforms/TVOSPlatform.hx index c965b7c7f..f66d11960 100644 --- a/tools/platforms/TVOSPlatform.hx +++ b/tools/platforms/TVOSPlatform.hx @@ -150,16 +150,6 @@ class TVOSPlatform extends PlatformTarget architectures = [Architecture.ARM64]; } - /*if (project.config.getString ("ios.device", "universal") == "universal" || project.config.getString ("ios.device") == "iphone") { - - if (project.config.getFloat ("ios.deployment", 5.1) < 5) { - - ArrayTools.addUnique (architectures, Architecture.ARMV6); - - } - - }*/ - for (architecture in project.architectures) { switch (architecture)