Используйте Appium Inpector на iOS показывает ошибку: xcodebuild не удалась с кодом 70IOS

Программируем под IOS
Ответить
Anonymous
 Используйте Appium Inpector на iOS показывает ошибку: xcodebuild не удалась с кодом 70

Сообщение Anonymous »

Я пытаюсь подключить свое реальное устройство с Appium Incepactor, возможности, как ниже: < /p>
{
"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
}
< /code>
Но есть ошибка, когда сделайте сеанс на Appium Incepaceor: < /p>
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-xcuites ... ce-config/.. Make sure you follow the tutorial at https://appium.github.io/appium-xcuites ... ce-config/
< /code>
Ошибка на терминале Appium: < /p>
[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.
< /code>
Я пытался сделать следующие шаги, но все еще не работал: < /p>

Успех построения из Xcode, приложение WebDriveragentRunner генерируется, но когда я строю из реального устройства, приложение WDAR исчезает. Тем не менее, приложение, которое я хочу проверить, является установленным успехом и может быть открыто. Это целый день, я просмотрел много ресурсов, но все еще не мог решить. Я не уверен, что еще попробовать ... любая помощь? Спасибо.

Подробнее здесь: https://stackoverflow.com/questions/796 ... th-code-70
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «IOS»