Xcode 13.0 can't pair to Apple TV 4K (tvOS 15.0)

On Xcode 13.0, I can no longer pair with an Apple TV 4K (tvOS 15.0). Until now it has always worked but since the new update to tvOS 15.0 and Xcode 13.0 I can no longer connect.

I have gone through the following steps to connect:

  1. Open remote app and devices settings on Apple TV 4K (tvOS 15.0).
  2. Open Devices and Simulators in Xcode 13.0.
  3. Select Apple TV in the list and press "Pair".
  4. Code appears on the Apple TV and I can enter it in an Xcode window.
  5. After the code input, there is a short loading sign that a connection is being established. After a few seconds, the whole thing stops without an error message and the "Pair" button is visible again.

Does anyone have the same problem? I would like to optimize my apps for tvOS 15 and test them on a physical device.

Answered by janapple in 698735022

After changing the following setting on the Apple TV I was able to connect via Xcode:

  1. Open "AirPlay and HomeKit" under the settings on the Apple TV.
  2. Make sure "Allow Access" is set to "Anyone in the Same Network". Was on "Only People Sharing This Home" for me previously.

Since I made this change, everything works fine for me again.

Xcode 13.0 can't pair to Apple TV 4K (tvOS 15.0)
 
 
Q