Pair_Local

Pairing on Wifi

go to Settings -> Remotes & Devices -> Remote App & Devices

then open Xcode -> Window -> Devices and Sims

you should be able to pair that way

AI Generated Gemini

To deploy to an Apple TV via Wi-Fi, ==connect your Mac and Apple TV to the same network, open Xcode's "Devices and Simulators" window, select your Apple TV, and enter the pairing code displayed on the TV in Xcode==. Once paired, you can select the Apple TV as a target device and run your app from Xcode. 

Prerequisites

- Ensure both your Mac and Apple TV are on the same Wi-Fi network. 

- Your Mac must have macOS 10.12.4 or later. 

Pairing steps

1. On your Apple TV, go to Settings > Remotes and Devices > Remote App and Devices. 

- On your Mac, open Xcode and go to Window > Devices and Simulators. 

- Select your Apple TV from the list of devices. It should appear in the "Discovered" section if they are on the same network. 

- A pairing code will be displayed on your Apple TV screen. 

- Enter this six-digit code into the pairing prompt on your Mac and click Connect. 

- Once paired, you can select the Apple TV as a target device in Xcode and run your app wirelessly.