Код: Выделить всё
RealIosDeviceIdError
Real Device ID is neither configured nor passed
Try fixing by :
1. Pass deviceId in the command (for e.g : --deviceId 00008030-00024C2C3453402E)
2. Or pass safari:deviceUDID capability in config
3. To verify the deviceId run, system_profiler SPUSBDataType | sed -n '/iPhone/,/Serial/p' | grep 'Serial Number:' | awk -F ': ' '{print $2}
4. For more help, run: npx @nightwatch/mobile-helper ios
module.exports = {
src_folders: ['tests'],
test_settings: {
android: {
webdriver: {
start_process: false,
host: 'localhost',
port: 4723
},
desiredCapabilities: {
platformName: 'Android',
'appium:deviceName': 'Pixel 4',
'appium:app': 'some-location/app-debug.apk',
'appium:automationName': 'UiAutomator2',
'fullReset': true,
'noReset': false
}
},
ios: {
webdriver: {
start_process: true,
host: 'localhost',
port: 4723
},
desiredCapabilities: {
platformName: "iOS",
"appium:deviceName": "iPhone 16 Pro",
"appium:platformVersion": "18.6",
"appium:app": "some-location/TrackingDemo.app",
"appium:automationName": "XCUITest",
},
}
}
};
< /code>
Я попытался использовать мобильного помощника, но он просто говорит, что все правильно настроено
< /li>
Я также попытался добавить UDID в мои возможности, но это тоже не помогло
. Я все еще получаю такую же ошибку. < /Li>
Я также проверял список устройств несколько раз, UDID верен, и
устройство загружается. < /Li>
< /ul>
Подробнее здесь: https://stackoverflow.com/questions/797 ... ith-appium
Мобильная версия