IOSPlatform: remove armv7 from default iOS architectures because latest Xcode reports error

Fixes error: The armv7 architecture is deprecated. You should update your ARCHS build setting to remove the armv7 architecture. (in target 'Build Haxe' from project 'MyProject')
This commit is contained in:
Josh Tynjala
2023-04-10 15:20:50 -07:00
parent 72db242720
commit f34b595e70

View File

@@ -91,7 +91,7 @@ class IOSPlatform extends PlatformTarget
title: ""
};
defaults.architectures = [Architecture.ARMV7, Architecture.ARM64];
defaults.architectures = [Architecture.ARM64];
defaults.window.width = 0;
defaults.window.height = 0;
defaults.window.fullscreen = true;
@@ -250,7 +250,7 @@ class IOSPlatform extends PlatformTarget
if (architectures == null || architectures.length == 0)
{
architectures = [Architecture.ARMV7, Architecture.ARM64];
architectures = [Architecture.ARM64];
}
if (project.config.getString("ios.device", "universal") == "universal" || project.config.getString("ios.device") == "iphone")