forces a value for platformVersion, ignoring DesiredCapabilities

In 1.3.7 under iOS Settings > Basic > Device Settings there’s a field labeled “Platform Version”. Unlike the other settings in this section there is no checkbox to enable/disable forcing this value. Basically whatever value is set here is what is used, and any value I set in my DesiredCapabilities seems to be ignored. I’ve tried simply deleting the value in this field, but it always comes back the next time I start the app.

Nevermind. Turns out when setting up my DesiredCapabilities I was using the enum value CapabilityType.Version which equates to “version”, not “platformVersion”, so Appium was using the app setting for platformVersion instead. When I define “platformVersion” in my DesiredCapabilities it correctly overrides the app setting.