How to solve the error while connecting real iOS device with Appium server?

0 votes

Hi…I’m opening an Application through Appium Server but I’m getting the error:

An unknown server-side error occurred while processing the command. Original error: Unknown device or simulator UDID: '046e4469d6cb14ff57e378599bd4b1d09390472b'

 {

  "platformName": "iOS",

  "deviceName": "iPad",

  "automationName": "XCUITest",

  "udid": "046e4469d6cb14ff57e378599bd4b1d09390472b",

  "bundleId": "com.***",

  "platformVersion": "11.2.6",

  "app": "/Users/***/***.ipa"

}

Jun 20, 2018 in Selenium by Martin
• 4,230 points
469 views

2 answers to this question.

0 votes

Use the below configuration which will solve your problem:

{

 “platformName”: “iOS”,

 “platformVersion”: “10.2.1",

 “deviceName”: “------”,

 “udid”: “fdbe0d55ced1fd6fa842681b6a058438573fb762",

 “app”: “/Users/----/---/---/---.ipa”,

 “automationName”: “XCUITest”

}

Based on app path, it will find the app to be loaded, also you have to provide the iOS version(XCode ios simulator version for simulator/ device OS version for device).

answered Jun 20, 2018 by Samarpit
• 5,150 points
0 votes
Run Command 'ideviceinstaller in Terminal and found your device attached .

Set the Path into your Test Case Class in your project.

and again run the program.
answered May 14 by Siddharth

Related Questions In Selenium

0 votes
1 answer

How to handle the popup of file upload in Windows OS with WebDriver?

The value of name locator has probably ...READ MORE

answered Apr 25, 2018 in Selenium by king_kenny
• 3,650 points
4,171 views
0 votes
1 answer

How to automate the Instagram search bar with selenium

Hi, please don't search by any placeholder ...READ MORE

answered Mar 8 in Selenium by Surya
• 970 points
654 views
0 votes
0 answers
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
1,131 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,150 points
1,239 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,150 points
989 views
0 votes
1 answer

How to eliminate this error”Cannot instantiate the type Select in selenium webdriver”

Try below code. Select sc = new Select(driver.findElement(By.xpath("your ...READ MORE

answered May 18, 2018 in Selenium by Samarpit
• 5,150 points
1,941 views
0 votes
1 answer

How to resolve Pycharm Referenced Error with Import Selenium Web driver?

Below will help: Pycharm > Preferences > Project ...READ MORE

answered Jun 26, 2018 in Selenium by Samarpit
• 5,150 points
2,397 views