Cannot run xcodebuild for Apple TV 4K

I am trying to run xcodebuild commands to build my WDA app for testing on the device. When I run the xcrun xctrace list devices I can see my Apple TV device available but when I run my command xcodebuild clean build-for-testing -workspace /path/to/WebDriverAgent.xcworkspace -scheme WebDriverAgentRunner_tvOS -destination 'platform=tvOS,id=<device_id>' -configuration Debug -derivedDataPath /derived_data/wda-1.21.0-16, I get error for unable to find destination for specifier.

Note devices is paired on apple configurator, but when I open xcode devices and simulators I cannot see my Apple TV to pair/connect with

Output of xcrun xctrace list devices:

== Devices ==
app’s Mac mini (109) (DBAD4F3E-9241-55B4-B807-B4A6821D1106)
DUBDC2 (15.6) (5f4e732a47cc09583e9465d0c14055aae7e211fb)
D, [2022-10-24T13:47:01.979998 #11231] DEBUG -- :
== Simulators ==
Apple TV Simulator (16.0) (08C13957-7CB3-435A-A501-314A281BE198)
Apple TV 4K (2nd generation) Simulator (16.0) (C33585C7-CDA9-4892-8D20-76ABAFCA6FD4)
Apple TV 4K (at 1080p) (2nd generation) Simulator (16.0) (B5ED5820-CF06-4625-8FD6-2F73938AFA68)
Apple Watch SE (44mm) (2nd generation) (9.0) (56512F26-4D9B-44DD-808A-08377EF0A169)
Apple Watch Series 5 (40mm) (9.0) (A7E5F23E-A0CC-4D3A-BCB8-52C5AF1BD254)
Apple Watch Series 5 (44mm) (9.0) (E46A8BCF-4C41-410A-93CB-B4146E674C3A)
Apple Watch Series 6 (40mm) (9.0) (8A698CE6-85B0-4AB1-9223-6DCD434E9B69)
Apple Watch Series 6 (44mm) (9.0) (200C575F-9DBC-42BA-A70D-2A6B5099E657)
Apple Watch Series 7 (41mm) (9.0) (B646151B-E010-4562-ABE2-E96B04AE350E)
iPad (9th generation) Simulator (16.0) (B7FCD718-E13B-49E7-B4C8-6D3856D54E26)
iPad Air (5th generation) Simulator (16.0) (7732EC7C-625A-4B19-9316-C0D7E96EFC52)
iPad Pro (11-inch) (3rd generation) Simulator (16.0) (BA51A2D7-A4BB-43DB-A7D3-DFB60E940962)
iPad Pro (12.9-inch) (5th generation) Simulator (16.0) (39EE38F4-8069-4984-9110-4A733DD808FF)
iPad mini (6th generation) Simulator (16.0) (BA470AB4-9224-49AC-ADBC-772883CB98F8)
iPhone 14 Simulator (16.0) (1B689D89-A47D-49CE-BA02-C1C683722CCB)
iPhone 14 Simulator (16.0) + Apple Watch Series 7 (45mm) (9.0) (A7C80387-8B4D-4062-8807-D9796B218CD9)
iPhone 14 Plus Simulator (16.0) (E5A429EE-D07A-4049-99AD-E47D63A90B16)
iPhone 14 Plus Simulator (16.0) + Apple Watch Series 8 (41mm) (9.0) (6EAF6B16-C74C-4151-875F-A3EE14F0CE33)
iPhone 14 Pro Simulator (16.0) (29F5BA67-D0A0-410C-BC4C-E6161CF78AF8)
iPhone 14 Pro Simulator (16.0) + Apple Watch Series 8 (45mm) (9.0) (0E276761-D51A-4D5B-AE61-DE1A62C32FE0)
iPhone 14 Pro Max Simulator (16.0) (F9E2F498-6193-4E43-A009-98D17B59CF94)
iPhone 14 Pro Max Simulator (16.0) + Apple Watch Ultra (49mm) (9.0) (0F6D9CE8-7BB5-4BC2-9F38-E9B81BEBBCAE)
iPhone SE (3rd generation) Simulator (16.0) (E5AF9BC8-3DF9-41FD-A9D7-45C1E7557123)

Output of xcodebuild clean build-for-testing -workspace /path/to/WebDriverAgent.xcworkspace -scheme WebDriverAgentRunner_tvOS -destination 'platform=tvOS,id=<device_id>' -configuration Debug -derivedDataPath /derived_data/wda-1.21.0-16

2022-10-24 13:47:34.329 xcodebuild[27968:40302780] Writing error result bundle to /var/folders/ty/yvsx9c_j713fk8jzgrq82vfw0000gn/T/ResultBundle_2022-24-10_13-47-0034.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
                { platform:tvOS, id:5f4e732a47cc09583e9465d0c14055aae7e211fb }

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

        Available 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 }
                { platform:tvOS Simulator, id:08C13957-7CB3-435A-A501-314A281BE198, OS:16.0, name:Apple TV }
                { platform:tvOS Simulator, id:C33585C7-CDA9-4892-8D20-76ABAFCA6FD4, OS:16.0, name:Apple TV 4K (2nd generation) }
                { platform:tvOS Simulator, id:B5ED5820-CF06-4625-8FD6-2F73938AFA68, OS:16.0, name:Apple TV 4K (at 1080p) (2nd generation) }
--- Build failed with code 70 ---

I have no idea now why this won't work. The exact device id is showing in my list of available destinations but it won't build for it

xcrun xcodebuild clean build-for-testing -workspace /private/tmp/nix-build-wda-1.21.0-16.drv-0/appium-njb/node_modules/appium-webdriveragent/WebDriverAgent.xcworkspace -scheme WebDriverAgentRunner_tvOS -destination 'platform=tvOS,id=5f4e732a47cc09583e9465d0c14055aae7e211fb' -configuration Debug -derivedDataPath /nix/store/h4f15b3rvakynkmdq6msxnnlsmmafhx1-wda-1.21.0-16 USE_PORT=8100 CODE_SIGN_ENTITLEMENTS=/private/tmp/nix-build-wda-1.21.0-16.drv-0/entitlements20221108-5640-1ubl5au.plist
2022-11-08 10:44:48.747 xcodebuild[5719:48620186] Writing error result bundle to /var/folders/ty/yvsx9c_j713fk8jzgrq82vfw0000gn/T/ResultBundle_2022-08-11_10-44-0048.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
                { platform:tvOS, id:5f4e732a47cc09583e9465d0c14055aae7e211fb }

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

        Available 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 }
                { platform:tvOS, id:5f4e732a47cc09583e9465d0c14055aae7e211fb, name:Apple TV }
                { platform:tvOS Simulator, id:08C13957-7CB3-435A-A501-314A281BE198, OS:16.0, name:Apple TV }
                { platform:tvOS Simulator, id:C33585C7-CDA9-4892-8D20-76ABAFCA6FD4, OS:16.0, name:Apple TV 4K (2nd generation) }
                { platform:tvOS Simulator, id:B5ED5820-CF06-4625-8FD6-2F73938AFA68, OS:16.0, name:Apple TV 4K (at 1080p) (2nd generation) }
Cannot run xcodebuild for Apple TV 4K
 
 
Q