From c40679b30e0667d5091dccb9151789af46580cf0 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Thu, 15 Dec 2016 12:46:27 -0800 Subject: [PATCH] Do not include ARMV7 by default for iOS deployment >= 7 --- lime/project/HXProject.hx | 2 +- lime/tools/platforms/IOSPlatform.hx | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lime/project/HXProject.hx b/lime/project/HXProject.hx index 14a944ae8..d8049329a 100644 --- a/lime/project/HXProject.hx +++ b/lime/project/HXProject.hx @@ -155,7 +155,7 @@ class HXProject { if (target == Platform.IOS) { - architectures = [ Architecture.ARMV7, Architecture.ARM64 ]; + architectures = [ Architecture.ARM64 ]; } else if (target == Platform.ANDROID) { diff --git a/lime/tools/platforms/IOSPlatform.hx b/lime/tools/platforms/IOSPlatform.hx index 338a67388..677b892de 100644 --- a/lime/tools/platforms/IOSPlatform.hx +++ b/lime/tools/platforms/IOSPlatform.hx @@ -200,6 +200,12 @@ class IOSPlatform extends PlatformTarget { } + if (project.config.getFloat ("ios.deployment", 8) < 7) { + + ArrayHelper.addUnique (architectures, Architecture.ARMV7); + + } + for (architecture in project.architectures) { switch (architecture) {