bug: Appium fails to install WDA on apple tv 4k.
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Current Behavior
Appium session fails on apple tv 4k due to WDA installation failure.
Error - [debug] [AppiumDriver@4d47] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 70
Failed due to [debug] [AppiumDriver@4d47] xcodebuild: error: Unable to find a destination matching the provided destination specifier: [debug] [AppiumDriver@4d47] { id:630248c017358eb7f998a44157cf91d9be116eeb }
But in available devices we can see that the device is available.
[debug] [AppiumDriver@4d47] Available destinations for the "WebDriverAgentRunner_tvOS" scheme: [debug] [AppiumDriver@4d47] { platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device } [debug] [AppiumDriver@4d47] { platform:tvOS, id:630248c017358eb7f998a44157cf91d9be116eeb, name:Living Room } [debug] [AppiumDriver@4d47] { platform:tvOS Simulator, id:82049AD9-58D6-4FA0-ABD1-18BD32C93A6A, OS:16.0, name:Apple TV 4K (2nd generation) }
Expected Behavior
Appium should be able to install wda on apple tv 4k.
Minimal Reproducible Example
Start appium session with the following caps - desired_cap = { “automationName”: “XCUITest”, “platformName”: “tvOS”, “platformVersion”: “16.0”, “deviceName”: “[device name]”, “appium:bundleId”: “[bundle id]”, “udid”:“[udid]”, “appium:useNewWDA”: True, “showXcodeLog”: True }
Environment
- Appium Version: v2.0.0-beta.35
- xcuitest driver: xcuitest@4.12.2
- Device: Apple Tv 4k 2nd gen 16.0
- Real device or emulator/simulator: Real device
Link to Appium Logs
https://gist.github.com/rushi04/1701e8d0ae3ca0f9637a1bc0aa19cd0a
Futher Information
No response
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
@mykola-mokhnach replacing IPHONEOS_DEPLOYMENT_TARGET with TVOS_DEPLOYMENT_TARGET worked. 🚀🔥 Thanks a ton.
Can we make appium do the same while building wda for tvos ?
xcuitest driver patch v4.13.3 has been published