I\'m continuing my adventure with Xamarin.
I\'m developing an Xamarin Forms application with a Portable Class Libraries (PCL).
I have compiled and debugged my
I have found the solution about my problem. I have done the following steps:
This link helped me.
For me helped next solution: 1)On Windows open Visual Studio: Tools=>Options=>Xamarin=>Other and click in Check Now
2)On Mac open Xamarin Studio Community (https://www.xamarin.com/download) Xamarin Studio Community=>Check for Updates... (and download last one)
After updates all works fine.
I had this problem recently (despite having enabled Sharing on the OSX host and checking firewall) and it turned out that both OSX Machine and Windows Machine needed the exact same version of Xamarin.iOS and a restart.
Updating both, restarting both, solved the problem for me.
I think what fixed it for me was opening git bash
then running ssh onto the mac box
. After saying Y
to trusting credentials
it worked.
Update Visual Studion on Mac and:
1) Delete on Mac - all files in .ssh (rm *)
2) Delete on Mac the folder .ssh
3) On Windows, generate your ssh key and transfer to MAC - for that Open Windows PowerShell and execute the follow commands:
[generate the key]
PS>ssh-keygen -t rsa -b 4096
[define the remote host variable]
PS>$REMOTEHOST="name_of_mac_user@ip_mac_machine"
[send the key to mac machine]
PS>scp "$env:USERPROFILE\.ssh\id_rsa.pub" "${REMOTEHOST}:~/tmp.pub"
[copy the key tmb.pub to authorized_keys file and set the permissions]
PS>ssh "$REMOTEHOST" "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat ~/tmp.pub >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys && rm -f ~/tmp.pub"
4) check on mac .ssh folder if the authorized_keys file is correct:
tail ./authorized_keys
5) check the permission for authorized_keys (-rw-------)
ls -al ./authorized_keys
I have just solved this problem! It was nonsense.
To connect Visual Studio Xamarin project and simulate that on Mac when you get:
Couldn't connect to computername.local please try again later.
What you need to do next:
Problem solved! I hope this will be useful for somebody.