Find PlayerSettings Architecture (iOS) from Script

So I am able to find the ScriptingImplementation selected from an editor script:

ScriptingImplementation backend = (ScriptingImplementation)PlayerSettings.GetPropertyInt("ScriptingBackend", BuildTargetGroup.iOS);

How do I access the Architecture (ARMv7, ARM64, Universal)?

I tried “Architecture”, “iPhoneArchitecture” and various others.

Found the answer, I just had to specify the BuildTargetGroup. “Architecture” was the keyword:

PlayerSettings.GetPropertyInt("Architecture", BuildTargetGroup.iPhone)