iOS 测试 新手配置 Webdriveragent 时,在其目录下执行./Scripts/bootstrap.sh 无法下载相关依赖。

era_com · 2023年12月06日 · 最后由 bou瓜 回复于 2023年12月14日 · 2799 次阅读

在 macOS 终端执行并报错如下,新手在网上找了一天没有解决。希望知道的指点下。
ca@james WebDriverAgent-master- % ./scripts/bootstrap.sh
Fetching dependencies
usage: carthage [-h] [--config file]
[--command-verbose | --no-command-verbose]
[--tasks-verbose | --no-tasks-verbose] [--plugin plugin]
{new,generate_requirements,install_dependencies} ...
carthage: error: argument cmd: invalid choice: 'bootstrap' (choose from 'new', 'generate_requirements', 'install_dependencies')

共收到 1 条回复 时间 点赞

可以尝试去 github 下载最新的 Webdriveragent 包放在 Appium 对应的目录,用 xcode 打开 WebdriverAgent.xcodeproj 项目 build.

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册