From 67759458cf01ed5cda2ef03367252bddc6332ebf Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Tue, 7 Jul 2015 09:35:32 -0700 Subject: [PATCH] Use -Dios and -Dsimulator for iOS rebuild, not -Diphoneos and -Diphonesim --- lime/tools/platforms/IOSPlatform.hx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lime/tools/platforms/IOSPlatform.hx b/lime/tools/platforms/IOSPlatform.hx index c351bb622..0c15db677 100644 --- a/lime/tools/platforms/IOSPlatform.hx +++ b/lime/tools/platforms/IOSPlatform.hx @@ -326,12 +326,12 @@ class IOSPlatform extends PlatformTarget { var commands = []; - if (armv6) commands.push ([ "-Diphoneos", "-DHXCPP_CPP11" ]); - if (armv7) commands.push ([ "-Diphoneos", "-DHXCPP_CPP11", "-DHXCPP_ARMV7" ]); - if (armv7s) commands.push ([ "-Diphoneos", "-DHXCPP_CPP11", "-DHXCPP_ARMV7S" ]); - if (arm64) commands.push ([ "-Diphoneos", "-DHXCPP_CPP11", "-DHXCPP_ARM64" ]); - if (i386) commands.push ([ "-Diphonesim", "-DHXCPP_CPP11" ]); - if (x86_64) commands.push ([ "-Diphonesim", "-DHXCPP_M64", "-DHXCPP_CPP11" ]); + if (armv6) commands.push ([ "-Dios", "-DHXCPP_CPP11" ]); + if (armv7) commands.push ([ "-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7" ]); + if (armv7s) commands.push ([ "-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARMV7S" ]); + if (arm64) commands.push ([ "-Dios", "-DHXCPP_CPP11", "-DHXCPP_ARM64" ]); + if (i386) commands.push ([ "-Dios", "-Dsimulator", "-DHXCPP_CPP11" ]); + if (x86_64) commands.push ([ "-Dios", "-Dsimulator", "-DHXCPP_M64", "-DHXCPP_CPP11" ]); CPPHelper.rebuild (project, commands);