![](/img/trans.png)
[英]Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
[英]Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 70”
我正在尝试在iPhone 5S真实设备上启动带有Appium的iOS应用。 这是我的设置
Appium版本:版本1.10.0(1.10.0.20181230.2)
Xcode:Version10.1 beta 2
Mac:10.14.2
iPhone 5S
iOS版本:12.2
Appium中使用的所需功能:
{
"app": "/Users/shalika/Desktop/testapp.ipa",
"deviceName": "YSS (12.1.3)",
"udid": "2d5e0eb5faedbe17d590e2f72d3888b67a997e03",
"automationName": "XCUITest",
"platformName": "iOS"
}
当我启动appium会话以在我的真实设备上运行该应用程序时,appium日志显示以下错误。
错误:由于xcodebuild失败而无法启动WebDriverAgent:“ xcodebuild失败,代码为70”。 确保遵循https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md上的教程。 尝试从设备中删除WebDriverAgentRunner应用程序(如果已安装),然后重新启动设备。
有解决问题的主意吗?
Appium 1.10.0不包括对Xcode 10.2的支持,而Xcode 10.2是构建适用于iOS 12.2的WebDriverAgent所必需的。
升级到最新的Appium版本 ,您的问题将消失。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.