Issues pairing with Mac from new PC

Grime 796 Reputation points

For months, I have successfully been writing iOS and Android apps through Xamarin.Forms (VS 2019) on an acer laptop (Windows 10) paired to a Mac Mini (Big Sur).
On the weekend, the laptop died so I brought in an Intel Nuc I had to take its place. Since then, I have successfully compiled and deployed to an Android device but I cannot pair to the Mac Mini, so can't compile to my iOS device.
When I try to pair to the Mac, it appears to work and there is no real error, but the message states, "The connection to '(my Mac)' has been finished". At this point, the VS Mac icon on the PC does NOT turn green, and there is NO active connection to the Mac. Further, the Connect button on the Pair to Mac dialog is grayed out so no further attempt is possible.
I'm running Xcode 13.1 on the Mac, if that helps. The Nuc is 64-bit 1.5GHz with 8GB RAM.
Any help would be greatly appreciated.

  1. Grime 796 Reputation points

    Anyone?

  2. JarvanZhang 23,971 Reputation points

    Hi, Grime. What's the version of VisualStudio on your pc? Try to update both the VS and Xcode to lastest stable version, then test again.

  3. Grime 796 Reputation points

    Microsoft Visual Studio Community 2019
    Version 16.11.7

    Should I install VS Community 2022?

  4. VICKY FIKRIACHRI 0 Reputation points

    Been a while. I have the same problem. It turn out that my PC has .NET10 SDK while My MBP have no .NET 10 SDK installed. Then I installed the same SDK. It solved


Sign in to comment

Answer accepted by question author

JarvanZhang 23,971 Reputation points

Hello,​

Welcome to our Microsoft Q&A platform!

I use the VS 16.11.7 to pair to a Mac, it works as expected. Please try to open VS installer to reparit the VS. You could view the log file to get the reason. The log files can be located by browsing to Help > Xamarin > Zip Logs in Visual Studio.

Here is the related doc, you could refer to: https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/connecting-to-mac/troubleshooting#stepnine

If all above doesn't work, please file a new report on Developer Community by going to Help > Send Feedback > Report a problem in Visual Studio and attach the logs described under Check the Verbose Log Files.

Best Regards,

Jarvan Zhang


If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  1. Grime 796 Reputation points

    I updated VS 2019 on the NUC and Xcode on the Mac and I can now pair to the Mac. Thanks heaps.

  2. JarvanZhang 23,971 Reputation points

    You're welcome. Happy coding!


Sign in to comment

0 additional answers

Sign in to answer

Your answer