gpt4 book ai didi

xcode - 由于 xcodebuild 失败 : "Carthage binary is not found." 无法启动 WebDriverAgent

转载 作者:行者123 更新时间:2023-12-03 18:45:50 25 4
gpt4 key购买 nike

每次我尝试使用 iOS 功能启动 appium 桌面时,都会出现以下错误:

Unable to launch WebDriverAgent because of xcodebuild failure: "Carthage binary is not found. Install using brew install carthage if it is not installed and make sure the root folder, where carthage binary is installed, is present in PATH environment variable.



完整的appium日志可以在以下 link找到

用于此的功能是:
{
"platformName": "iOS",
"deviceName": "iPhone X",
"app": "path/to/my/App.app",
"platformVersion": "11.2",
"automationName": "XCUITest",
"xcodeOrgId": "myXcodeOrgId",
"bundleId": "bundleIdOfMyApp"
}

哪个迦太基输出是 /usr/local/bin/carthage 迦太基的版本是 0.28.0

XCode 版本为 版本 9.2 (9C40b)

最佳答案

您需要先在您的机器上安装 Carthage,方法是在终端上执行以下命令

$ brew install carthage

更多详情请引用 here .

关于xcode - 由于 xcodebuild 失败 : "Carthage binary is not found." 无法启动 WebDriverAgent,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49251594/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com