[英]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.