Upgrading appium and iOS 12+13 not supported

I’m upgrading appium from 1.7.1 to 1.16.0.

I understand that iOS 9.3 and earlier are not supported, so I tried 13.0 and 12.2 which are listed as supported.

However, I’m getting the following:

“”"

Error processing the server response:

Appium 1.16.0 does not support iOS 13.0. Please check our platform configurator (https://saucelabs.com/docs/platforms)

Error retrieving a new session from the selenium server

Connection refused! Is selenium server started?

{ value: -1, error: ‘Unexpected token A in JSON at position 0’ }

npm ERR! code ELIFECYCLE

npm ERR! errno 1

[…]

npm ERR! Exit status 1

npm ERR!

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Error processing the server response:

Appium 1.16.0 does not support iOS 12.2. Please check our platform configurator (https://saucelabs.com/docs/platforms)
“”"

This is what my configuration looks like:

{
  "src_folders" : ["test/integration"],
  "output_folder" : "testlogs/",
  "custom_commands_path" : "test/custom_commands/",
  "custom_assertions_path" : "",
  "page_objects_path" : "",
  "globals_path" : "",
  "test_workers" : {
    "enabled" : false
  },
  "test_settings" : {
    "default" : {
      "launch_url" : "http://localhost:8080",
      "selenium_port" : 80,
      "selenium_host" : "ondemand.saucelabs.com",
      "silent": true,
      "start_process": false,
      "recordVideo" : false,
      "recordScreenshots": true,
      "screenshots" : {
        "enabled" : false,
        "path" : ""
      },
      "desiredCapabilities": {
        "platform": "Windows 10",
        "browserName": "chrome",
        "version": "61.0"
      }
    },
   ...
       "ios_13.1": {
      "desiredCapabilities": {
        "automationName": "XCUITest",
        "browserName": "Safari",
        "appiumVersion": "1.16.0",
        "deviceName": "iPhone Simulator",
        "deviceOrientation": "portrait",
        "platformVersion": "13.0",
        "platformName": "iOS"
      }
    },

    "ios_12.2": {
      "desiredCapabilities": {
        "automationName": "XCUITest",
        "browserName": "Safari",
        "appiumVersion": "1.16.0",
        "deviceName": "iPhone 6 Simulator",
        "deviceOrientation": "portrait",
        "platformVersion": "12.2",
        "platformName": "iOS"
      }
    },

Can you help me understand what’s wrong?

So I clicked on that link and it doesn’t list iOS 12.2 support (it does have 12.1 and 12.3). Very strange! However, it does list 13.0 as supported. I don’t use Saucelabs myself–do they offer tech support for this kind of issue?

One other thing I noticed: You list 13.1 at the top but 13.0 in the capabilities. Do these need to match?

I see the opposite of you - 12.2 and 12.0, not 12.1 and 12.3.

No it’s just a label. I tried about 10 different things but I couldn’t bother changing the label all the time… it shouldn’t matter.

My apologies. I did not get that you were using a simulator from the first post. I always think that when using the cloud it would be on a real device.

I went to Saucelabs support portal and typed the above in it. Here’s something interesting to try:

https://support.saucelabs.com/hc/en-us/articles/225105987-Setting-Valid-Values-for-deviceName-for-Android-Emulators-and-iOS-Simulators