I've been trying lots of times to connect my xcode with AppleTV wirelessly.
I could input PIN code shown on Apple TV for pairing to xcode,
and then xcode comes stuck with the message "setting up appletv name." and a loading image.
I googled again and again and found some had the same situation with me.
https://discussions.apple.com/thread/8353737
I've already done the following things.
- reset AppleTV
- completely remove xcode and reinstall it
- reboot AppleTV, xcode, MacOS
Here is my environment.
AppleTV A1842 tvOS 11.4.1
xcode v9.4.1
MacOS High Sierra 10.13.6
Thank you in advance.