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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user