Reputation: 91
When trying to pair Xcode with my Apple TV it says
This device has been ignored in the devices panel.
I cannot continue development properly until this issue has been solved, however I cannot find an un-ignore button. Please help me, thank you!
Upvotes: 4
Views: 8619
Reputation: 872
Goto the Devices and Simulators (etc) click the (+), bottom left, and goto Bluetooth on the AppleTV, here is the thing you need to do the old "toggle your bluetooth" on the Mac but you won't actually pair in "macOS" aka Settings.
You will pair in Devices and Simulators in Xcode (after toggle)
Upvotes: 0
Reputation: 8463
While Window > Devices and Simulators is open on the Xcode, go to the upper menu with the back button on your remote and re-enter the Remote App and Devices menu to try to go back again. Try a few times. It'll show your device on the Xcode's Device window.
Then click the Pair for the device. You’ll see a screen asking you to enter the six-digit code displayed on your Apple TV;
Enter the code to the Xcode's Device window. And wait for it. For a while device and Xcode will work for Preparing debugger support for your device. Keep your Mac device and Apple TV close until it's done.
If still having the same issue, just try restarting your internet. For some reason, some people solved this way🤷🏻♂️
Hope this will help someone.
Best.
Upvotes: 8
Reputation: 21
Using Sonoma (beta) and tvOS 17 beta 3, my MacBook Pro would pair with the TV, but not connect to it (stuck saying "connecting ..."). Both the TV and MacBook were hardwired to the same Ubiquity switch. When I changed both to use the same WiFi network, the connection worked - when I changed back, it got stuck again.
Upvotes: 2
Reputation: 829
June 2023
All the answers in this post proved how shaky and unreliable a wireless pairing is.
When I connected my Mac laptop and AppleTV to the same network using an ethernet cable, it works. Very consistent and reliable.
Environment - MacBook Pro (2015, Intel) with a macOS 12.6, AppleTV 4K (2nd gen) with a tvOS 16.1
Upvotes: 0
Reputation: 71
I was having the same issue and none of the solutions above worked. Then I noticed that universal clipboard between my iPhone and Mac was also not working.
The solution for that was to toggle Bluetooth and Wi-Fi on/off on both Mac and iPhone (I have a feeling that it was more the toggle on Mac that helped).
Anyway, by fixing that issue, my AppleTV showed up paired and ready to use in Xcode (din't even have to re-pair).
Upvotes: 1
Reputation: 3147
i tried all the solutions mentioned here - non helped, eventually i:
sometimes when you press |Pair| button in the Devices & Simulators window, after you key in the numbers, the screen will go back to "Pair" mode,
in order to bypass this issue, after pairing i restart the xcode (without unpairing or forget the device), and the device shows up as connected
Upvotes: 0
Reputation: 519
2022
After testing some solutions and having no luck, try the next:
It's working now. Try it.
Upvotes: 4
Reputation: 323
Running the terminal command as described in other answers didn't work for me and the device kept being ignored whenever I re-opened Xcode.
My solution was to open Apple Configurator and go to Paired Devices on the About menu. From the window that appears hit the X to remove all the devices (I had the same device listed 6 times).
Then close Apple Configurator, launch Xcode and the Apple TV paired.
My setup was Xcode 13.4.1 / Apple 4K 2nd Gen / tvOS 15.5.1 / Apple Configuration 2.15.1
Upvotes: 8
Reputation: 11
I had exactly the same issue: My solution was:
This did it for me. For some reason, don't ask me why
Upvotes: 1
Reputation: 325
I think I found the solution. I did a number of things so here are all of them, but the most important one is step 5:
Go to main menu in Apple TV
Quit Xcode
Go to the command line and type
defaults read com.apple.dt.Xcode.plist DVTIgnoredDevices
You should be able to see the AppleTV in question listed there.
NOTE: This will clear all of your ignored devices . Still in the command line, type
defaults delete com.apple.dt.Xcode.plist DVTIgnoredDevices
Go to the Devices and Simulators window
On command line, type
defaults read com.apple.dt.Xcode.plist DVTIgnoredDevices
You should see something like "does not exist"
Upvotes: 4
Reputation: 4490
Make sure you've enabled the "Show as run destination" option.
Upvotes: 0