Hi Nava,
I see this is quite old. Did you find any resolution to this? Looking at same problem myself.
Nick
Post
Replies
Boosts
Views
Activity
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) }
Unfortunately not. I have been able to build WDA via the actual Xcode application though, but it has to be WDA version >= 4.9.0 for me when building with XCode 14