Apple TV wireless debugging Unable to connect

Viewed 2437

I am trying to pair my apple TV (4th Gen) running tvOS 11.1 with Xcode 9. After entering the pairing code, Xcode tries to setup the Apple TV for wireless debugging and enabling development mode, but fails with the error "An error was encountered while attempting to communicate with this device. (End of file.)" See below image

Note that I was able to pair with my apple TV successfully and run an app on it couple of weeks ago using Xcode 9 wireless debugging feature. Wireless debugging works fine for iphone and iPad. Now, I seem to be having problem with my Apple TV.

UPDATE: Now I have tried even resetting my AppleTV, still same issue.

Xcode 9 Devices and Simulators Window

I have tried restarting my apple TV and tried reconnecting it with Xcode multiple times, but I get the same error always. Do I need to reset my apple TV or is there any other work around available to fix this issue ?

1 Answers

As it turned out, I had to use Xcode beta version, as I was installing app on the beta tvOS version. I didn't notice that Apple TV was updated to tvOS 11.1 which is in beta at the moment.

Solution: Using Xcode 9.1 (beta) to install the app on Apple TV 4 worked perfectly.

Related