Iphone with IOS 10.3 is getting restarted most of the time while launching driver in Appium Studio 10.9.82

Hi,

Iphone with IOS 10.3 is getting restarted most of the time while launching driver in Appium Studio 10.9.82
Please find the below code, After trying to launch the IOSdriver its restarting Iphone devices most of the time.

                 DesiredCapabilities dc = new DesiredCapabilities();
               dc.setCapability(SeeTestCapabilityType.DEVICE_QUERY, "@os='ios'");
               dc.setCapability(MobileCapabilityType.NO_RESET, true);
               dc.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 300); 
               dc.setCapability(IOSMobileCapabilityType.BUNDLE_ID, appPackage);
               dc.setCapability(IOSMobileCapabilityType.KEEP_KEY_CHAINS, false);
              driver = new IOSDriver(new URL("http://localhost:4723/wd/hub"), dc);

Hi,

Please perform the following:

  1. Delete the PaltielX app from your phone
  2. Remove the phone from the list of devices in Appium Studio
  3. Re-add the phone and try again

Yes! that worked for me!

Hi @Saravanan_Palanivel

I’m happy to hear that this helped you solve the issue.
Feel free to share with others in the forum in case you see other Appium Studio users with the same issue.