Invalid Credentials when attempting connection to Xamarin mac Agent

ios xamarin

1319 просмотра

2 ответа

10 Репутация автора

I'm a brand new Xamarin User. I'm trying to connect to my Mac Machine from my Win 10 machine. Both are on my home network.

I'm using Visual Studio 2015 community. I have all the latest Xamarin code installed. From the VS Tools Menu I selected 'IOS/Xamarin Mac Agent' to connect to my Mac Machine.

I'm being prompted for the Username and password for the Mac. I entered the correct info but the system is responding with invalid Credentials.

I'm positive that my credentials are correct and the Mac is setup to allow remote connections from any user. Don't know where to go from here. The Mac is running OS X Yosemite.

Автор: Bob Barbara Источник Размещён: 18.07.2016 07:52

Ответы (2)

3 плюса

4692 Репутация автора

Are you by chance using your full name as opposed to the actual user name for your Mac user account? You can find your actual account name by opening Terminal on the Mac and entering the command whoami. This will return your actual user name.

Otherwise I would recommend going over the connection trouble shooting guide here:

For the issue I think you are experiencing, see item 5 in this section of the above:

"Make sure you are connecting to the Mac with the username rather than the Full Name. This avoids a known limitation for full names that include accented characters."

Автор: jgoldberger - MSFT Размещён: 19.07.2016 01:34

1 плюс

934 Репутация автора

I am also having this issue. This is what fixed it for me.

System Preferences -> Sharing -> Computer Name:

Change this to a single word "MyNameMac"

Note below you will see Remote Login: On. If it is not on turn it on on the left hand side. Then note down the login domain myname@192.168.x.y similar to this format.

After changing the computers name, back on windows 10 in visual studio. You will have a new mac shown (because you changed the name). Connect to it. Do not put @192... at the end just stick you your user name. You can also get the user name from the terminal via "whoami" open the terminal using cmd + space then typing terminal and hitting enter.


Автор: Sigex Размещён: 11.02.2018 07:29
Вопросы из категории :