This version of Unity is unsupported.

PlayerSettings.SetArchitecture

Switch to Manual

Declaration

public static void SetArchitecture(Build.NamedBuildTarget buildTarget, int architecture);

Declaration

public static void SetArchitecture(BuildTargetGroup targetGroup, int architecture);

Parameters

buildTarget The NamedBuildTarget.
architecture An integer value associated with the architecture of the build target. 0 - None, 1 - ARM64, 2 - Universal.

Description

Sets the architecture for the given build target.

BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.