Make iOS default deployment 9 (increased from 8)
This commit is contained in:
@@ -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.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);
|
ArrayTools.addUnique(architectures, Architecture.ARMV6);
|
||||||
}
|
}
|
||||||
@@ -242,14 +242,14 @@ class IOSPlatform extends PlatformTarget
|
|||||||
case "ipad": "2";
|
case "ipad": "2";
|
||||||
default: "1,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")
|
if (project.config.getString("ios.compiler") == "llvm" || project.config.getString("ios.compiler", "clang") == "clang")
|
||||||
{
|
{
|
||||||
context.OBJC_ARC = true;
|
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.ENABLE_BITCODE = project.config.getBool("ios.enable-bitcode", false);
|
||||||
context.IOS_COMPILER = project.config.getString("ios.compiler", "clang");
|
context.IOS_COMPILER = project.config.getString("ios.compiler", "clang");
|
||||||
context.CPP_BUILD_LIBRARY = project.config.getString("cpp.buildLibrary", "hxcpp");
|
context.CPP_BUILD_LIBRARY = project.config.getString("cpp.buildLibrary", "hxcpp");
|
||||||
|
|||||||
@@ -150,16 +150,6 @@ class TVOSPlatform extends PlatformTarget
|
|||||||
architectures = [Architecture.ARM64];
|
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)
|
for (architecture in project.architectures)
|
||||||
{
|
{
|
||||||
switch (architecture)
|
switch (architecture)
|
||||||
|
|||||||
Reference in New Issue
Block a user