Unable to Pair Mac Agent from Visual Studio

Aravapalli Manikishore 21 Reputation points
2021-04-08T12:13:28.907+00:00

Hi Everyone,

I'm unable to connect to Mac from Visual Studio.

I'm using Microsoft Visual Studio Community 2019 with Version 16.4.4 trying to connect with Mac Catalina with version 10.15.7.

I'm getting following error

An error occurred while generating the SSH keys. Please check that the environment is properly configured. Details: cat: /Users/kensium/Library/Caches/Xamarin/XMA/Keys/51f68e46-35a0-4883-b21e-6aadba73f9ba: No such file or directory

Did tried by deleting the \AppData\Local\Xamarin\MonoTouch files. But the result is same.
And also followed the steps from the link from here. But result is same.

Can any one help me out.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JarvanZhang 23,951 Reputation points
    2021-04-09T08:28:29.667+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    An error occurred while generating the SSH keys. Please check that the environment is properly configured.

    Hi, AravapalliManikishore. Try to update the VS and XCode to the lastest stable version and test again. Here is the related doc about Connection Troubleshooting for a Xamarin.iOS Build, you could follow the steps to solve the issue.
    https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/connecting-to-mac/troubleshooting

    Similar issue may help you:
    https://stackoverflow.com/questions/60310365/error-connecting-to-mac-from-visual-studio

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.