Samy S.Rathore
Samy S.Rathore

Reputation: 1823

Xamarin iOS | Error Connecting Xamarin Build Host from Visual Studio on Windows

We are attempting to connect to a Xamarin build host running on a Mac Mini (OS X 10.11 Yosemite) to a Visual Studio running on a Windows 8.1 Machine. We have updated Xamarin.iOS to same version on both system.

The issue: My Visual Studio can detect the build host and asks for PIN to pair with the build host. But even if I'm entering the same PIN, it never accepts, and keeps giving this error(PFA Screenshots):

The PIN you entered was invalid. Please ensure you have entered the correct PIN. You may have to close this dialog and retry from Visual Studio.

enter image description here enter image description here

I've restarted both systems and tried to unpair and pair again with new PIN, but no success.

Needless to say, but both systems are on same network and VS can detect the build host. My Mac Details are in attached image – enter image description here

Visual Studio Details: Microsoft Visual Studio Professional 2013 Version 12.0.31101.00 Update 4

Upvotes: 2

Views: 633

Answers (2)

SushiHangover
SushiHangover

Reputation: 74209

Connecting to your build host via telnet you should not be receiving any response until you enter HELO.

The response that you are getting before the HELO MTBSERVERPORTS:62592;62595 is incorrect (a Xamarin bug).

objc[66118]: Class WebAnimationController is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.f‌​ramework/Versions/A/WebKitLegacy and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.

If you are running any thing older that the Xamarin 3.9 release, you need to upgrade. If that does not help, either contact Xamarin Support to help troubleshoot why this is happening or upgrade to the Xamarin 4.0 for Visual Studio.

Personally, I would upgrade to the Xamarin 4.0 for Visual Studio (currently an alpha release) as it replaces the PIN pairing with a SSH tunnel that avoids all of the older issues with 3.0 Build Host connection problems.

Re: http://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.0/

This version also introduces the new Xamarin Mac Agent which replaces the old Xamarin Build Host with a new approach taking advantage of the built-in MacOS Remote Login feature based on SSH for a faster and more reliable connectivity.

Upvotes: 3

Sylvrec
Sylvrec

Reputation: 71

First check firewall rule on your both machines if the port (5000) is not blocked. Second read this link https://kb.xamarin.com/customer/portal/articles/1733609-additional-build-host-connection-troubleshooting-steps Try to connect manually by telnet.

Upvotes: 0

Related Questions