Apple Tv (14.0 (18J386) fails to pair with xcode

When pairing with xcode my mac appears in the 'paired remote and apps' section on the tv, but the appletv remains in the 'discovered' section of xcode.

I have tried in xcode 12.0 and 11.7.

Looking in the console I see these maybe relevant messages:


AMDeviceExtendedPairWithOptions (thread 0x7000021a0000): SerialNumber: fff90:dd:5d:a6:ad:1dfff

ParingMaterial: {

    DeviceCertificate = {length = 1005, bytes = 0x2d2d2d2d 2d424547 494e2043 45525449 ... 54452d2d 2d2d2d0a };

    EscrowBag = {length = 32, bytes = 0xd46fd101 6ffbcead 23dba13c d11b9f47 ... 8aeed937 53d452e9 };

    HostCertificate = {length = 1005, bytes = 0x2d2d2d2d 2d424547 494e2043 45525449 ... 54452d2d 2d2d2d0a };

    HostID = "575F7E37-5E40-4A7B-8906-8E24DCF6BCFA";

    HostPrivateKey = {length = 1708, bytes = 0x2d2d2d2d 2d424547 494e2050 52495641 ... 45592d2d 2d2d2d0a };

    RootCertificate = {length = 989, bytes = 0x2d2d2d2d 2d424547 494e2043 45525449 ... 54452d2d 2d2d2d0a };

    RootPrivateKey = {length = 1708, bytes = 0x2d2d2d2d 2d424547 494e2050 52495641 ... 45592d2d 2d2d2d0a };

    SystemBUID = "D9694892-C7D9-4E8F-903A-0716DB671DA6";

    WiFiMACAddress = "90:dd:5d:a6:ad:1d";

}

DeviceID: 12


AMDDevicePaired (thread 0x70000c837000): Device Paired: 'AMDevice 0x7f87cfc775b0 {UDID = fff90:dd:5d:a6:ad:1dfff, device ID = 12, FullServiceName = 90:dd:5d:a6:ad:1d@fe80::92dd:5dff:fea6:ad1d.apple-pairable._tcp.local.}'.


 DTDKRemoteDeviceConnection: Failed to start Instruments daemon on device “00008027-0019282036E8002E”: Error Domain=com.apple.dtdevicekit Code=811 "Failed to start remote service on device." UserInfo={NSUnderlyingError=0x7f87cf0b63e0 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402653150 "The service is invalid." UserInfo={MobileDeviceErrorCode=(0xE8000022), com.apple.dtdevicekit.stacktrace=(

0   DTDeviceKitBase                     0x000000012863d81a DTDKCreateNSErrorFromAMDErrorCode + 233

1   DTDeviceKitBase                     0x000000012864f161 _63-[DTDKRemoteDeviceConnection startFirstServiceOf:unlockKeybag:]blockinvoke + 564

2   DTDeviceKitBase                     0x000000012864e829
48-[DTDKRemoteDeviceConnection futureWithSession:]blockinvoke3 + 22

3   DTDeviceKitBase                     0x000000012863fdf9 _DTDKExecuteInSessionblockinvoke2 + 35

4   DTDeviceKitBase                     0x000000012863f209 _DTDKExecuteWithConnectionblockinvoke2


Failed to initialize channel to device: <private>


I've tried rebooting my mac, the device, xcode. No luck anywhere

Apple Tv (14.0 (18J386) fails to pair with xcode
 
 
Q