I need help regarding appium iOS test using Java running on real iPhone. using 1.5.3 appium,iphone 6 plus with iOS 9.3.2.setting these capabilities,getting error-
An unknown server-side error occurred while processing the command. Original error: Could not find a device to launch. You requested…
device is connected with machine.
File classpathRoot = new File(System.getProperty(“user.home”));
File appDir = new File(classpathRoot, “xxx/Debug-iphoneos”);
File app = new File(appDir, “myapp.app”);
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(“deviceName”, “my’s iPhone”);
capabilities.setCapability(“platformVersion”, “9.3.2”);
capabilities.setCapability(“app”, app.getAbsolutePath());
driver = new IOSDriver<>(new URL(“http://127.0.0.1:4723/wd/hub”), capabilities);