Application not installing in to AppleTV during automation suite execution from Xcode

Hi,

I am testing a video streaming application in the Apple TV. When I am executing the Automation suite from Xcode, the application is not getting installed in the Apple TV.

The Apple TV Settings "Background App Refresh" is turned ON for the application that I am testing through Automation. Uninstalling the App manually before triggering the automation suite has a drawback as the app gets installed in Production environment by default and I can't change the environment in the course of automation execution. Hence, the app needs to be pre installed in the Apple TV as I would have it in the preferred lower environments if I want to test them in that.

Please suggest a solution.

Is the Apple TV plugged in via cable or over wifi to Xcode? Is it enabled for development?

Yes Apple TV is enabled for development. It is plugged in via LAN cable

Application not installing in to AppleTV during automation suite execution from Xcode
 
 
Q