This version of Unity is unsupported.

PlayerSettings.iOS.targetDevice

Switch to Manual
public static iOSTargetDevice targetDevice;

Description

Targeted device.