![](/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.