在 xcode 中构建成功消息后未安装 Webdriver-agent 应用程序

问题描述 投票:0回答:1

Mac 操作系统:Ventura 13.1 Xcode:14 阿皮姆:1.22.3 自制软件:3.6.12 iPhone:11 Pro(iOS 16)

WebDriverAgent.xcodeproj % xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=00008030-00052DDE0E84802E' -allowProvisioningUpdates test
 xcodebuild[28997:446901] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
 xcodebuild[28997:446901] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
Command line invocation:
    /Users/rhitvik.mittai/Downloads/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project "WebDriverAgent.xcodeproj -scheme" WebDriverAgentRunner "-destination id=00008030-00052DDE0E84802E -allowProvisioningUpdates" test

User defaults from command line:
    destination id = 00008030-00052DDE0E84802E -allowProvisioningUpdates
    IDEPackageSupportUseBuiltinSCM = YES

xcodebuild: error: Unknown build action 'WebDriverAgentRunner'.

我希望将 webdriver 代理应用程序下载到我的 iPhone 中。

xcode appium-ios
1个回答
0
投票

我刚刚遇到了同样的问题,它构建成功但实际上并未下载我的手机。我正在阅读此文档:https://appium.github.io/appium-xcuitest-driver/4.16/wda-custom-server/

如果您还没有准备好,请从菜单中构建它,如下所示:

选择WebDriverAgentRunner项目 选择您想要运行自动化测试的真实手机/模拟器作为构建目标 从主菜单中选择产品->测试

它应该告诉你有一个错误: 请从此设备上删除使用您的免费帐户签名的应用程序,以保持在限制范围内。

这是因为免费开发者帐户只允许下载 3 个 Xcode 应用程序以在 1 部手机上进行开发。然后我遵循以下步骤:已达到免费开发配置文件的应用程序的最大数量。 Xcode 11.5

从该页面,答案是您可以使用: 在 Macbook 上打开控制台应用程序并在尝试从 Xcode 安装应用程序时捕获日志。在左侧的“设备”下 > 选择您的 iPhone 设备 > 然后搜索 MIFreeProfileValidatedAppTracker 以及类似内容:

[MIFreeProfileValidatedAppTracker _onQueue_addReferenceForApplicationIdentifier:bundle:error:]:182:此设备已达到使用免费开发人员配置文件安装的应用程序的最大数量:

  1. “捆绑 ID”,
  2. “捆绑 ID”,
  3. “捆绑 ID”

取而代之的是计入免费应用程序限制的具体 ID。

因此,您可以使用它来查看哪些应用程序计入该限制,删除这些应用程序,以便您可以腾出空间并再次尝试构建和测试 WebDriverAgentRunner

© www.soinside.com 2019 - 2024. All rights reserved.