Код: Выделить всё
{
"platformName": "iOS",
"appium:automationName": "XCUITest",
"appium:deviceName": "iPadmini",
"appium:udid": "00008110-XXXXXXXXXXX",
"appium:xcodeOrgId": "XXXXXXXXXX",
"appium:xcodeSigningId": "iPhone Developer",
"appium:platformVersion": "18.5",
"appium:app": "/Users/path/TestApp.ipa",
"appium:useNewWDA": true,
"appium:showXcodeLog": true
}
Код: Выделить всё
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent. Original error: xcodebuild failed with code 70. This usually indicates an issue with the local Xcode setup or WebDriverAgent project configuration or the driver-to-platform version mismatch. Consider checking the WebDriverAgent configuration guide for real iOS devices at https://appium.github.io/appium-xcuitest-driver/latest/preparation/real-device-config/.. Make sure you follow the tutorial at https://appium.github.io/appium-xcuitest-driver/latest/preparation/real-device-config/
Код: Выделить всё
[f8334372][XCUITestDriver@f87b] connect ECONNREFUSED 127.0.0.1:8100
[f8334372][XCUITestDriver@f87b] Matched '/status' to command name 'getStatus'
[f8334372][XCUITestDriver@f87b] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[f8334372][XCUITestDriver@f87b] connect ECONNREFUSED 127.0.0.1:8100
[f8334372][XCUITestDriver@f87b] Error: Unable to connect to running WebDriverAgent: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:8100
at /Users/user/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/lib/xcodebuild.js:436:17
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at wrapped (/Users/user/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:93:13)
at retry (/Users/user/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:66:13)
at retryInterval (/Users/user/.appium/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:103:10)
at XcodeBuild.waitForStart (/Users/user/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/lib/xcodebuild.js:420:7)
at /Users/user/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/lib/xcodebuild.js:398:74
[f8334372][XCUITestDriver@f87b] Unable to start WebDriverAgent: Error: We were not able to retrieve the /status response from the WebDriverAgent server after 60000ms timeout.Try to increase the value of 'appium:wdaLaunchTimeout' capability as a possible workaround.
- При успешной сборке из Xcode создается приложение WebDriverAgentRunner, но когда я собираю его с реального устройства, приложение WDAR исчезает. Однако приложение, которое я хочу протестировать, установлено успешно и его можно открыть.
- Проверьте версии каждого инструмента:
Xcode v16.4,
Appium v2.18.0,
Node v22.16.0,
IPadmini6 v18.5
Подробнее здесь: https://stackoverflow.com/questions/796 ... th-code-70
Мобильная версия