【问题标题】:'WebDriverAgent.xcodeproj' does not exist, xcodebuild failed with code 65'WebDriverAgent.xcodeproj' 不存在,xcodebuild 失败,代码为 65
【发布时间】:2020-07-30 06:30:58
【问题描述】:

我正在尝试在 OS X Catalina 上使用 Appium 自动化真正的 ios 设备。

这是我得到的错误:

Appium Doctor 确认已安装所有必需的组件 成功地。 “WebDriverAgent.xcodeproj”(路径 "/Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent) 成功 基于 xcode (11.4.1) 并能够安装/运行/打开 iphone xr 上的“集成应用程序”。

但是,在终端中运行“xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=udid' test”时,我收到此错误:

xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=udid' 测试" “命令行调用: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=xxxxxxxxxxxxxx test xcodebuild: error: 'WebDriverAgent.xcodeproj' 不存在。

【问题讨论】:

    标签: ios xcode automation ios-ui-automation appium-ios


    【解决方案1】:

    确认运行此命令的路径 如果您通过命令行安装 appium,则验证 pwd 为 /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent 然后运行上面的命令

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-09-13
      • 2020-01-25
      • 2018-04-08
      • 1970-01-01
      • 2020-12-19
      • 2015-09-19
      • 2020-09-02
      相关资源
      最近更新 更多