Enable Xamarin.iOS Connections - hyvanmielenpelit/GnollHack GitHub Wiki
On the Mac computer, go to System Preferences → Sharing and enable Remote Login. Also File Sharing is useful for sharing files like certificates and profiles to Windows. You can also find your username and the Mac’s IP address here by clicking Remote Login. Follow the instructions here:
https://docs.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/connecting-to-mac/
In Visual Studio 2022, click on Pair to Mac toolbar button, and select Add Mac, unless the connection is directly established.