简体   繁体   English

遇到内部错误运行命令:错误:由于xcodebuild失败而无法启动WebDriverAgent:“ xcodebuild失败,代码为70”

[英]Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 70”

I am trying to launch an iOS app with Appium on iPhone 5S real device. 我正在尝试在iPhone 5S真实设备上启动带有Appium的iOS应用。 This is my set up 这是我的设置

Appium version : Version 1.10.0 (1.10.0.20181230.2) Appium版本:版本1.10.0(1.10.0.20181230.2)

Xcode : Version10.1 beta 2 Xcode:Version10.1 beta 2

Mac : 10.14.2 Mac:10.14.2

iPhone : 5S iPhone 5S

iOS Version: 12.2 iOS版本:12.2

Desired Capabilities Used in Appium: Appium中使用的所需功能:

{
  "app": "/Users/shalika/Desktop/testapp.ipa",
  "deviceName": "YSS (12.1.3)",
  "udid": "2d5e0eb5faedbe17d590e2f72d3888b67a997e03",
  "automationName": "XCUITest",
  "platformName": "iOS"
}

When I start the appium session to run the app on my real device, appium log shows below error. 当我启动appium会话以在我的真实设备上运行该应用程序时,appium日志显示以下错误。

Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 70". 错误:由于xcodebuild失败而无法启动WebDriverAgent:“ xcodebuild失败,代码为70”。 Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md . 确保遵循https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md上的教程。 Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device. 尝试从设备中删除WebDriverAgentRunner应用程序(如果已安装),然后重新启动设备。

Any idea to solve the problem? 有解决问题的主意吗?

Appium 1.10.0 did not include support for Xcode 10.2, which is required to build WebDriverAgent for iOS 12.2. Appium 1.10.0不包括对Xcode 10.2的支持,而Xcode 10.2是构建适用于iOS 12.2的WebDriverAgent所必需的。

Upgrade to the latest Appium version and your problem should go away. 升级到最新的Appium版本 ,您的问题将消失。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 由于 xcodebuild 失败,无法启动 WebDriverAgent:xcodebuild 失败,代码为 70 - Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70 由于 xcodebuild 失败退出代码 127,无法启动 WebDriverAgent - Unable to launch WebDriverAgent because of xcodebuild failure exit Code 127 IOS 实习生 - 由于 xcodebuild 失败,无法启动 WebDriverAgent:未找到:carthage - Intern on IOS - Unable to launch WebDriverAgent because of xcodebuild failure: not found: carthage 我为真正的 iOS 设备设置了 Appium,无法启动 WebDriverAgent,因为 xcodebuild 失败,代码 65 - I set up Appium for Real iOS device, Unable to launch WebDriverAgent because xcodebuild failed with code 65 命令 xcodebuild 失败,退出代码为 70 - Nativescript - Command xcodebuild failed with exit code 70 - Nativescript 由于xcodebuild失败而无法启动WebDriver Agent - Unable to launch WebDriver Agent because of xcodebuild failure 运行命令“ xcodebuild”退出,错误代码为65 - running command “xcodebuild” exited with error code 65 ** 构建失败 ** ... 错误:命令的错误代码 65:带有 args 的 xcodebuild:-xcconfig - ** BUILD FAILED ** … Error: Error code 65 for command: xcodebuild with args: -xcconfig Cordova Build failed with error Error code 65 for command xcodebuild with args - Cordova Build failed with error Error code 65 for command xcodebuild with args 'WebDriverAgent.xcodeproj' 不存在,xcodebuild 失败,代码为 65 - 'WebDriverAgent.xcodeproj' does not exist, xcodebuild failed with code 65
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM