【问题标题】:Failed to launch process with bundle identifier 'com.apple.test.WebDriverAgentRunner-Runner'无法使用捆绑标识符“com.apple.test.WebDriverAgentRunner-Runner”启动进程
【发布时间】:2019-02-24 03:02:23
【问题描述】:

当我尝试在 iOS 上使用 appium 安装 webdriverlauncher 时,我看到了上述错误,但是 xcode 构建成功。 Xcode 构建通过 appium 失败。我在 xcode 中手动更改了包标识符,但是它不明白 com.apple.test.WebDriverAgentRunner-Runner 从哪里调用 任何人都可以请帮忙。提前致谢

【问题讨论】:

  • 您信任您 iOS 设备上的应用程序吗?为此,请转到“设置”->“常规”->“配置文件和设备管理”

标签: ios xcode mobile-safari appium-ios safaridriver


【解决方案1】:

我用下面的方法解决了,

正如@Jade 所说,请确保您信任设备中的应用并按照以下步骤操作。

  1. 导航到终端中的 appium-webdriveragent 文件夹
  2. 运行以下命令
./Scripts/bootstrap.sh && npm i --package-lock-only && npm audit fix && ./Scripts/bootstrap.sh (These 2 lines are single command and it is optional)
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=<udid>' -allowProvisioningUpdates GCC_TREAT_WARNINGS_AS_ERRORS=0 test

这种方法解决了我的问题。

【讨论】:

    猜你喜欢
    • 2021-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多