Unable to pair Apple TV 4K running tvOS 13.4.6 using Xcode 10.2

Can I pair Xcode 10.2 with Apple TV 4K running tvOS 13.4.6?

I have tried numerous times via wireless and Ethernet connection on the same network. I can see the Apple TV from Xcode. When I choose the pair option from Xcode I get the pin on my Apple TV, enter it, then get the error ‘General failure while pairing over the network‘, retrying always gives the same error message in Xcode. If I try to add the device using + sign an the message ‘This device has been ignored in the Device panel.’

Note: I do not see my mac on the Apple TV pairing screen. My iPhone and iPad both show up. I unpaired these and still no luck.

I downloaded the device support codes for 13.4 into the Xcode device support directory but still unable to connect.

is there a specified version of Xcode required for tvOS 13.4.6?
I'm in nearly the same situation. Differences are that I'm trying Xcode 10.3 and my Apple TV 4k has tvOS 13.4.8. I've tried numerous things with no success. I also get the "General failure while pairing over the network" after entering the 6-digit pairing code. Xcode also tells me "This device has been ignored in the device panel"! Would be nice to "un-ignore" it! LOL

Some things I noticed in the Console include the following; whether it means anything useful I do not know--
sharingd:
Xcode:1055 lacks 'com.apple.PairingManager.Read' entitlement to use GetPairingIdentity
GetPairingIdentity failed: -71168/0xFFFEEA00 kMissingEntitlementErr
Xcode:
Pair-setup client state 5 failed: -71168/0xFFFEEA00 kMissingEntitlementErr
Pairing failed: -71168/0xFFFEEA00 kMissingEntitlementErr
Were you able to find a fix for this issue? I'm also having the same problem. Im using High SIerra, Xcode 10.1 and my apple tv4k is on 12.1.2. I m getting the same error, General Failure while pairing over the network. Please help.

Switch off/on the wifi of your macbook. Worked for me and folks over here https://developer.apple.com/forums/thread/108459?login=true

Unable to pair Apple TV 4K running tvOS 13.4.6 using Xcode 10.2
 
 
Q