stuck while pairing appleTV and xcode

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.

After several more times of rebooting and reinstalling, suddenly it worked.

Spent a couple of hours dealing with this issue, and what helped me was toggling my computer's wifi off and on again.
11

After trying several tips, this one worked for me ! Thanks !

stuck while pairing appleTV and xcode
 
 
Q