Bug 57740 - I am not able to connect to the Mac agent from my windows 10 machine using VS 2017 preview.
Summary: I am not able to connect to the Mac agent from my windows 10 machine using VS...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 15.4
Assignee: Bugzilla
Depends on:
Reported: 2017-06-24 12:19 UTC by Parthiv
Modified: 2017-10-15 00:30 UTC (History)
6 users (show)

Is this bug a regression?: Yes
Last known good build:

contains verbos logs from Windows and sshd.log from Mac machine (8.58 KB, application/x-zip-compressed)
2017-06-24 12:19 UTC, Parthiv

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Parthiv 2017-06-24 12:19:50 UTC
Created attachment 23098 [details]
contains verbos logs from Windows and sshd.log from Mac machine


I am trying to run the Xamarin.Forms app on Mac agent, but even with tryied with many ways, I can not able to connect to it.

My OS is Window 10, VS 2017 preview edition, Xamarin for VS is version, Xamarin.iOS SDK is

And Mac machine which I am trying to connect has macOS Sierra 10.12.5.

I am also connecting verbose log collected on Windows machine and SSH log collected from mac machine.

Please help me out how to fix this.

Looking forward to hear you soon.

Comment 1 Parthiv 2017-06-24 12:21:20 UTC
Wanted to let you know that, I have tried everything from the given link for troubleshooting this issue.

Comment 2 Parthiv 2017-06-24 12:55:40 UTC
Also wanted to update that, when I do the login for connecting to Mac agent, it goes into the "Connect to Server..." mode and never comes back.
Comment 4 mag@xamarin.com 2017-06-26 17:01:36 UTC
Hi Parthiv,

As I can see in the logs, the connection is established successfully against the Mac, at least the SSH connection and authentication. Unfortunately, the log appears to be truncated so I can't see all the details. However, I can see that the mono probing logic that we use to find mono on the Mac is failing for most of the locations. Also, we need mono 64 bits to be able successfully launch iOS Apps on the Mac.

This should happen when the Mac machine has not all the pre requisites. Did you install all the pre requisites on the Mac?

We need at least Mono and Xamarin iOS. One way to not worry about all the things to install but to install just one thing, is by installing Xamarin Studio or Visual Studio for Mac, which will install the pre requisites by you. Please see this link: https://docs.microsoft.com/en-us/visualstudio/mac/installation

If you still have connection issues after installing the mentioned pre requisites, please let us know and attach the Ide.log again, hopefully not truncated.

Comment 5 mag@xamarin.com 2017-07-05 02:55:09 UTC
Do you have any extra information or update about this problem?
Comment 6 mag@xamarin.com 2017-07-06 19:07:39 UTC
Given that the logs suggests that a valid Mono installation is missing, I assume that the Mac is not correctly configured.
Please ensure to have Xcode, Xamarin iOS and Mono installed on the Mac. To install Xamarin iOS and Mono, you can install VS for Mac, ensuring to install the same version as the Xamarin Visual Studio on Windows. See: https://docs.microsoft.com/en-us/visualstudio/mac/installation

If after having the Mac correctly installed you still face connection issues, please feel free to re open the bug and attach Ide logs, to analyze in depth.