xcode-build 无法从可用目的地列表中找到真正的 tvOS 设备

Nic*_*and 6 xcodebuild appium tvos

我正在尝试构建 Appium 提供的 WebDriverAgent,以便在我的 tvOS 设备上进行测试。我注意到该命令失败了,所以我尝试运行自己看看出了什么问题。我收到一个非常不寻常的错误,其中显示“没有可用设备与请求匹配”,但随后它继续在可用设备列表中列出确切的设备目的地。这里发生了什么?这是 xcode-build 的错误吗?请参阅下面的输出。Xcode 13.4.1 内部版本 13F100。appium-webdriver-agent 版本 1.3.5

2022-06-15 12:24:22.291 xcodebuild[46151:3561580] 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
2022-06-15 12:24:22.291 xcodebuild[46151:3561580] 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:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner_tvOS -destination "id=1dafa12122994bd53425e32165086f586c91c7ba,platform=tvOS,name=Living Room" GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    COMPILER_INDEX_STORE_ENABLE = NO
    GCC_TREAT_WARNINGS_AS_ERRORS = 0

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
        { platform:tvOS, id:1dafa12122994bd53425e32165086f586c91c7ba, name:Living Room }

    The requested device could not be found because no available devices matched the request.

    Available destinations for the "WebDriverAgentRunner_tvOS" scheme:
        { platform:tvOS, id:1dafa12122994bd53425e32165086f586c91c7ba, name:Living Room }
        { platform:tvOS Simulator, id:AB7961DA-7101-4F2E-AF7C-2AC7D796213C, OS:15.4, name:Apple TV }
        { platform:tvOS Simulator, id:10433C26-0EEB-4085-9EED-B94306F2B2E2, OS:15.4, name:Apple TV 4K (2nd generation) }
        { platform:tvOS Simulator, id:BE4D2F91-FE52-4E7C-81E5-A7A853162572, OS:15.4, name:Apple TV 4K (at 1080p) (2nd generation) }

    Ineligible destinations for the "WebDriverAgentRunner_tvOS" scheme:
        { platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device }
        { platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Any tvOS Simulator Device }
Run Code Online (Sandbox Code Playgroud)