Bug 21202 - Unable to pair Mac Build Host running Yosemite
Summary: Unable to pair Mac Build Host running Yosemite
Status: CLOSED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.1
Hardware: PC Mac OS
: High critical
Target Milestone: 3.8
Assignee: Juan Marcelo Tondato
URL:
Depends on:
Blocks:
 
Reported: 2014-07-09 11:27 UTC by Allie Miller
Modified: 2015-01-05 11:20 UTC (History)
37 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Logs (6.89 KB, application/zip)
2014-07-09 11:29 UTC, Allie Miller
Details


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:
Status:
CLOSED FIXED

Description Allie Miller 2014-07-09 11:27:13 UTC
*Overview*
When attempting to pair the Mac Build Host with a Windows workstation, the pairing will fail with the following error message: "No UUID has been set"

*Steps to Reproduce*
1) Update the Mac Build Host to OS X Yosemite Developer preview 3.
2) Ensure that the Xamarin software is running the latest Stable version of the software.
3) Attempt to pair the Mac Build Host with a Windows workstation.

*Expected Results*
The pairing is successful.

*Actual Results*
The pairing is unsuccessful with the following:
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.
The PIN you entered was invalid.

No UUID has been set

*Additional Information*
In the connection wizard in VS, it fails on step Connection to Mac Server. 
I have also added the Trace log files and mtbserver log to this report.

*Versioning Information*
=== Xamarin Studio ===
Version 5.1 (build 479)
Installation UUID: e724bab3-2971-48b5-9726-a421fec5ab37
Runtime:
Mono 3.4.0 ((no/954ed3c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 304000214
=== Apple Developer Tools ===
Xcode 5.1.1 (5085)
Build 5B1008
=== Xamarin.iOS ===
Version: 7.2.5.4 (Business Edition)
Hash: e7f4f92
Branch:
Build date: 2014-06-18 02:37:27-0400
=== Xamarin.Android ===
Version: 4.12.5 (Starter Edition)
Android SDK: /Users/NAME/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.0.3 (API level 15)
4.3 (API level 18)
4.4 (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
=== Xamarin.Mac ===
Version:
=== Build Information ===
Release ID: 501000479
Git revision: e5a428cec75d4cc7e6e3ccd8192a3660d013e7dc
Build date: 2014-06-26 09:28:17-04
Xamarin addins: 190d93e026e17280e75a3680ef38f2630b9228d3
=== Operating System ===
Mac OS X 10.10.0
Darwin Reids-MBP 14.0.0 Darwin Kernel Version 14.0.0
Mon Jun 30 11:54:42 PDT 2014
root:xnu-2782.1.20~3/RELEASE_X86_64 x86_64

*Visual Studio information*
Microsoft Visual Studio Ultimate 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Ultimate

Architecture and Modeling Tools 06181-004-0449004-02153
Microsoft Architecture and Modeling Tools

UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Office Developer Tools - May 2014 Update ENU 06181-004-0449004-02153
Microsoft Office Developer Tools for Visual Studio 2013 - May 2014 Update ENU

Team Explorer for Visual Studio 2013 06181-004-0449004-02153
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013 06181-004-0449004-02153
Microsoft Visual Basic 2013

Visual C# 2013 06181-004-0449004-02153
Microsoft Visual C# 2013

Visual C++ 2013 06181-004-0449004-02153
Microsoft Visual C++ 2013

Visual F# 2013 06181-004-0449004-02153
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker 06181-004-0449004-02153
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU 06181-004-0449004-02153
Windows Phone SDK 8.0 - ENU

ASP.NET and Web Tools 2013.2.50425
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.1.20409.0
For additional information, visit http://www.asp.net/

Common Azure Tools 1.1
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

Debugging Tools for Windows 6.3.9600.16384
Integrates the Windows Debugger functionality (http://go.microsoft.com/fwlink/?linkid=223405) in Visual Studio.

GenerateUnitTest 1.0
Generates unit test code for methods in classes under test.

JetBrains ReSharper 8.2 C# Edition build 8.2.0.2160 on 2014-03-21T02:53:08
JetBrains ReSharper 8.2 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2014 JetBrains, Inc.

JetBrains TeamCity Addin 8.1 build 8.1.9.476 on 2014-02-26T16:06:44
JetBrains TeamCity Addin 8.1 package for Microsoft Visual Studio. For more information about TeamCity Addin 8.1, visit http://www.jetbrains.com/teamcity/. Copyright © 2000–2014 JetBrains, Inc.

NuGet Package Manager 2.8.50313.46
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 12.0.40403.0
Microsoft SQL Server Data Tools

Visual Studio 12 Editor Extension 1.0
Information about my package

Windows Azure Mobile Services Tools 1.1
Windows Azure Mobile Services Tools

Windows Azure Remote Debugging 1.0
Windows Azure Remote Debugging Community Technology Preview

Windows Azure Tools 2.2
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.2.11003.1601

Windows Driver Kit 6.3.9600.16384
Headers, libraries, and tools needed to develop, debug, and test Windows drivers (msdn.microsoft.com/en-us/windows/hardware/gg487428.aspx)

Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin 3.1.215.0 (09870684ffab6d8697b491503867808b567b4021)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android
Comment 2 reid 2014-07-10 13:56:48 UTC
Submitted this to Apple, too. #17626068
Comment 3 Prashant manu 2014-07-11 01:43:32 UTC
We have checked and observing same error ' PIN you entered was invalid.'
Screencast: http://screencast.com/t/49Bnk3U0JfD8

Supplement Info: 
Trace Log: https://gist.github.com/anonymous/ea35af69da36ba638a9a
mtbserver log: https://gist.github.com/saurabh360/e485e7d2deff1a8d473c

Environment Info:
All VS
Xamarin 3.1.223.0 (2731d4b7f1f99d45a13263b50b5231aa3b018034)

MAC- Yosemite 10.10 Preview 3
Xamarin.iOS Version: 7.2.5.5 
Hash: 87026b6

Apple Developer Tools
Xcode 6.0 beta 3
Build 6A216f
Comment 7 reid 2014-07-22 15:38:21 UTC
I just downloaded and installed Yosemite 10.10 Preview 4 and the issue still exists. 
Is there a workaround to get the build host connected?
Comment 8 Eric Grover 2014-07-25 10:51:46 UTC
It seems that downgrading back to Mavericks does not solve the problem.
Comment 9 Brendan Zagaeski (Xamarin Team, assistant) 2014-07-28 13:14:51 UTC
@Eric Grover: for one other user, upgrading _back_ to Yosemite Beta 1 after downgrading to Mavericks reportedly resolved the problem, so that might be worth a try.
Comment 10 Eric Grover 2014-07-28 13:22:11 UTC
@Brendan Zaqeski Where do I get the bits for beta 1?
Comment 11 Eric Grover 2014-07-28 13:37:29 UTC
@Brendan Zaqeski Does Xamarin have a root cause for this issue?
Comment 12 Brendan Zagaeski (Xamarin Team, assistant) 2014-07-28 14:08:07 UTC
I'm not sure of the progress on finding a root cause.

About the Beta 1 preview, it looks like Apple is no longer providing Yosemite Beta 1 for download, so unless you happen to have already downloaded it in the App Store, I suspect there is no easy way to try this.

That said, upgrading to the current Yosemite Beta 4 preview might also work.

If it doesn't, or if you'd like to try some other options first, feel free to start up an e-mail support case (for example, by writing to contact@xamarin.com). One thing we can try is manually deleting the Xamarin installation and then reinstalling.

There is a potentially related problem that has been reported by several users when upgrading from OS X 10.8 to 10.9 [1]. In that case, the upgrade process apparently removed some symbolic links. Manually repairing the Xamarin installation fixed them up.

[1] http://forums.xamarin.com/discussion/14517/error-building-helloworld-android-app-on-mac-osx-10-9-2
Comment 13 Eric Grover 2014-07-28 14:10:16 UTC
Yeah, I already have a support case open.  And I have already tried both removing/re-installing, and manually installing the software.

Installing beta 4 is what got me in trouble to begin with.

I am dead in the water.
Comment 14 Brendan Zagaeski (Xamarin Team, assistant) 2014-07-28 14:19:28 UTC
Gotcha. I'll take another look for your support case, and pick up with you there about trying some more in-depth debugging steps.

As odd as it sounds, based on the other user's success after upgrading back to Yosemite Beta 1, I think there's still an outside chance that re-upgrading to Beta 4 might fix something (at a complete guess, maybe permissions).
Comment 15 Brendan Zagaeski (Xamarin Team, assistant) 2014-07-28 20:41:04 UTC
Thanks to Eric's gracious help in sharing his desktop, I had a chance to look hands-on at the particular problem he was seeing (after the downgrade to Mavericks).


The most interesting thing we noticed was that the Xamarin.iOS Build Server would output an error message over telnet immediately upon connection:

> $ telnet localhost 5000

> 2014-07-24 12:44:18.985 system_profiler[18700:1303078] Error loading /System/Library/SystemProfiler/SPNVMeReporter.spreporter: Error Domain=NSCocoaErrorDomain Code=4 "The bundle “SPNVMeReporter.spreporter” couldn’t be loaded because its executable couldn’t be located." UserInfo=0x7f9e01f16b60 {NSLocalizedFailureReason=The bundle’s executable couldn’t be located., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSBundlePath=/System/Library/SystemProfiler/SPNVMeReporter.spreporter, NSLocalizedDescription=The bundle “SPNVMeReporter.spreporter” couldn’t be loaded because its executable couldn’t be located.} 


Sending a subsequent "HELO" command over telnet would return the expected "MTBSERVERPORTS" response.

It seems likely that XamarinVS is giving up while attempting to parse the initial (possibly non-critical) error message, and so is never sending the "HELO" command. Indeed I saw _no_ activity added to the `mtbserver.log` file during several repeated attempts to enter the correct PIN from Visual Studio.

I wouldn't be surprised if this same error message appears in the initial build host response when running Yosemite Preview 3 or 4. The logs from Comment 3 support this idea. They show no activity in `mtbserver.log` during the last several PIN entry attempts.


## Forum thread with another report of this error message
http://forums.xamarin.com/discussion/21089/error-connecting-to-xamarin-ios-build-host
Comment 16 reid 2014-08-04 16:59:01 UTC
I just updated to Yosemite build 5 and build server 7.2.6.28 and I'm still getting the error. 
Brendan, 
Is there something I can do to intercept the message so VS continues the connection process? 
I've been stuck without the ability to develop on Visual Studio for nearly a month with no solution or workaround. I've been reluctant to wipe my hard drive and start over. Is there a downgrade process that I can follow that will fix this?
Comment 17 Eric Grover 2014-08-04 17:00:30 UTC
I really don't think you are going to fix the problem without a HD wipe and re-install.  That did the trick for me.
Comment 18 Rui Marinho 2014-08-05 21:06:48 UTC
I m with the same issue , would love to get a workaround for this.
Comment 19 Brian Hamachek 2014-08-19 02:33:36 UTC
We have been seeing this same issue since Yosemite Beta 2.  We are currently running Yosemite Beta 6 and still seeing the same thing.  Connecting via telnet we see:

2014-08-18 23:31:10.543 system_profiler[1032:54889] Error loading /System/Library/SystemProfiler/SPNVMeReporter.spreporter: Error Domain=NSCocoaErrorDomain Code=4 "The bundle “SPNVMeReporter.spreporter” couldn’t be loaded because its executable couldn’t be located." UserInfo=0x7ff013e01be0 {NSLocalizedFailureReason=The bundle’s executable couldn’t be located., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSBundlePath=/System/Library/SystemProfiler/SPNVMeReporter.spreporter, NSLocalizedDescription=The bundle “SPNVMeReporter.spreporter” couldn’t be loaded because its executable couldn’t be located.}

We are happy to provide any additional details that might be helpful in resolving this.
Comment 20 reid 2014-08-19 18:45:19 UTC
I searched around a bit and noticed that people were having similar issues with other apps and it had to do with Apple upgrading perl from 5.16 to 5.18. I tried reverting to 5.16 but it still didn't work
Comment 21 Jose Gallardo 2014-09-01 14:09:03 UTC
360 needs to confirm with latest bits.
Comment 22 NeoDarque 2014-09-02 14:27:19 UTC
Just as a comment, after updating to Yosemite DP7 this now works again for me, the Build host is no longer spitting out the error message that seemed to interfere.
Comment 23 reid 2014-09-02 16:57:56 UTC
NeoDarque, did you change anything else?
I just updated to DP7 and still get the same error.
Comment 24 NeoDarque 2014-09-02 17:22:20 UTC
No, no other changes. 
Are you still seeing error messages if you telnet to port 5000 after starting Xamarin.iOS Build Host?
Comment 25 Rajneesh Kumar 2014-09-03 03:24:03 UTC
we are still facing the issue " Unable to pair Mac Build Host running Yosemite". On entering correct PIN for pairing it gives error:
"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."

Screencast: http://www.screencast.com/t/PYkpBalcUpwx

Supplement Info
mtbserver Log: https://gist.github.com/saurabh360/a893e987336dd70796eb

Environment Info:

====Windows=====

Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.50938

Xamarin   3.3.47.0 (0b2a123923812a88ed3091909478dbe9e0111f00)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android

=====MAC=====
Operating System
Mac OS X 10.10.0 (14A329f) [Yosemite preview 6]
Darwin Admin-Macs-Mac-mini.local 14.0.0 Darwin Kernel Version 14.0.0
    Sat Aug  9 00:14:02 PDT 2014
    root:xnu-2782.1.80~2/RELEASE_X86_64 x86_64
 
Xamarin.iOS
Version: 7.2.6.28 (Business Edition)
Hash: 606f31a
Comment 26 Greg Stevenson 2014-09-03 04:16:44 UTC
Same issue here with the latest Developer preview too - still getting "The PIN you entered was invalid" on Yosemite OS X 10.10 (14A329f)
Comment 27 PJ 2014-09-03 11:18:30 UTC
Back to CONFIRMED.
Comment 28 NeoDarque 2014-09-03 15:54:54 UTC
Rajneesh, you're still on DP6. For me the problems were present on DP6 as well. But on DP7 (Build 14A343f) I'm no longer seeing the problem.
Comment 29 Greg Stevenson 2014-09-04 05:25:01 UTC
Hi guys,

My bad, it looks like my DP7 upgrade was multi staged for some reason - after the first installation and rest I still had an outstanding Yosemite upgrade in the App Store. After running it this morning I can now confirm I'm running 14A343f and I'm able to use my MBP running Parallels and the Xamarin.iOS Build Host to build and deploy with no issues. I wonder if Rajneesh had the same problem also.
Comment 30 Greg Stevenson 2014-09-04 05:26:06 UTC
rest = restart
Comment 31 Rajneesh Kumar 2014-09-04 08:06:19 UTC
Today we updated our OSX 10.10 to "Developer Preview 7" to checked this issue and able to successfully paired with Mac Build Host running Yosemite. And we also successfully able to deploy the application on Simulator and device.

Screencast: http://www.screencast.com/t/Q27tdaHKKgK4

Environment Info:

====Windows=====

Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.50938

Xamarin   3.6.180.0 (226e8fe23ad93bff6586167ef903a738b412fbb6)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

=====MAC=====

Operating System
Mac OS X 10.10.0 (14A329f) [Yosemite preview 7]
Darwin Admin-Macs-Mac-mini.local 14.0.0 Darwin Kernel Version 14.0.0
    root:xnu-2782.1.80~2/RELEASE_X86_64 x86_64

=== Xamarin.iOS ===

Version: 7.9.4.29 (Trial Edition)
Hash: a0e77ba
Branch: 
Build date: 2014-09-03 21:01:43-0400

Xamarin-ios-build-host-3.6.0.180
Comment 32 PJ 2014-09-04 10:36:22 UTC
Hey all, it looks like the DP7 upgrade has resolved this for everyone, with the possible exception of reid in comment 23. 

I'm going to mark this one as RESOLVED UPSTREAM, but we absolutely want to know if anyone is still seeing this with the Yosemite 14A343f build (or later).
Comment 33 Jim Bennett 2014-09-10 09:58:27 UTC
I'm running DP7 and the latest stable everything and I'm getting this issue.  I guess I'll try rolling back.
Comment 34 Jim Bennett 2014-09-10 10:45:34 UTC
Just tried a clean Tamarin install - still get the same error.  Telnet gives this error:

2014-09-10 21:43:06.892 system_profiler[1267:23473] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
2014-09-10 21:43:06.894 system_profiler[1267:23473] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
Comment 35 Rui Marinho 2014-09-25 10:12:57 UTC
I did a fresh instal of my bmp, and  i m having this error with Yosemite Developer Preview 8, and Xamarin Stable channel, will the change to alpha or beta solve the issue ?
Comment 36 Cody Beyer (MSFT) 2014-10-01 18:07:23 UTC
This appears to be occurring in the latest GM of Yosemite. Reopening.
Comment 38 NeoDarque 2014-10-02 15:53:41 UTC
For what it's worth I'm not seeing this problem in Yosemite GM.
Comment 40 John Wilkins 2014-10-17 09:55:14 UTC
Just upgraded to Yosemite - official release - and I'm now getting this problem.
Comment 41 Nicholas 2014-10-17 10:01:54 UTC
Also confirmed, Visual Studio 2010/12 attempting connection to Yosemite (14A389) with XCode 6.0.1 (6A317) and Xamarin 5.5.2 (build 3).

Pairing dialogue box reports invalid PIN when it's definitely correct, VS2010 reports some output, e.g.:

system_profiler[953:31252] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
Comment 42 Brett Morrison 2014-10-17 16:03:52 UTC
Same problem.  Haven't been able to pair with the Previews and still can't pair with the GM.
Comment 43 ryan 2014-10-17 16:10:05 UTC
I had this problem in the old beta releases of Yosemite, but after beta 6, it seemed to fix the issue.  I had read somewhere it has to do with the Perl version going from 16 to 18.
Comment 44 Jose 2014-10-17 17:51:17 UTC
After upgrading to Yosemite public release (version 10.10) I haven't been able to pair with the iOS Build Host. It was working just fine until the update. VS says the Pin is invalid and the reason it at the bottom status bar says No UUID has been set.
Comment 45 Brendan Zagaeski (Xamarin Team, assistant) 2014-10-17 18:00:22 UTC
Thanks all for the confirmations that the problem occurs on the Yosemite stable release. The Visual Studio team is actively investigating.
Comment 46 pooran 2014-10-17 21:54:57 UTC
I am getting this error in Visual Studio 2013
Comment 47 robert 2014-10-18 11:10:11 UTC
I have the same issue, 
Can not connect VS2013 with Xamarin Build Host (8.2.0.207 / 3.7.0.226) happened after upgrading to Yosemite and a few small upgrades from Xamarin, before the upgrade it was working very well.

Hope to see this bug fixed soon, if more info is needed let me know.

Regards,
Robert 


[18-Oct-2014 15:05:46] Apple SDK developer root: /Applications/Xcode.app/Contents/Developer
[18-Oct-2014 15:05:51] Server IP Address : 0.0.0.0
[18-Oct-2014 15:07:46] Apple SDK developer root: /Applications/Xcode.app/Contents/Developer
[18-Oct-2014 15:07:51] Server IP Address : 0.0.0.0
[18-Oct-2014 15:25:43] Apple SDK developer root: /Applications/Xcode.app/Contents/Developer
[18-Oct-2014 15:25:49] Server IP Address : 0.0.0.0
[18-Oct-2014 15:26:20] Error: An error occurred (no details available)
[18-Oct-2014 15:26:20] Got connection from Visual Studio (log)
[18-Oct-2014 15:26:20] Error: Error accepting log connection from Visual Studio
[18-Oct-2014 15:26:20] Exception: Exception type: System.ObjectDisposedException
The object was used after being disposed.
  at System.Net.Sockets.Socket.EndAccept (System.Byte[]& buffer, System.Int32& bytesTransferred, IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.Socket.EndAccept (IAsyncResult result) [0x00000] in <filename unknown>:0 
  at Mtb.Server.Proxy.LogProxy.VS_IncomingOutput (IAsyncResult result) [0x00000] in <filename unknown>:0 
[18-Oct-2014 15:26:25] Apple SDK developer root: /Applications/Xcode.app/Contents/Developer
[18-Oct-2014 15:26:30] Server IP Address : 0.0.0.0
[18-Oct-2014 15:36:01] Error: An error occurred (no details available)
[18-Oct-2014 15:36:01] Got connection from Visual Studio (log)
[18-Oct-2014 15:36:01] Error: Error accepting log connection from Visual Studio
[18-Oct-2014 15:36:01] Exception: Exception type: System.ObjectDisposedException
The object was used after being disposed.
  at System.Net.Sockets.Socket.EndAccept (System.Byte[]& buffer, System.Int32& bytesTransferred, IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.Socket.EndAccept (IAsyncResult result) [0x00000] in <filename unknown>:0 
  at Mtb.Server.Proxy.LogProxy.VS_IncomingOutput (IAsyncResult result) [0x00000] in <filename unknown>:0
Comment 48 Margarita 2014-10-19 09:55:52 UTC
The same issue for me.
Just updated to OS X 10.10
Installed Xamarin latest stable
Installed VS2013 + Xamarin on WinPC (Win7 Prof)
And there is an error pairing VS to Xamarin build host on my Mac - "the pin is invalid"
Checked million times - the PIN is valid

Checked OSX firewall - it is turned off

Tried to pair manually: it fails permanently.
Comment 49 Brendan Zagaeski (Xamarin Team, assistant) 2014-10-19 16:43:41 UTC
I'm not quite familiar enough with networking and proxies to be certain that it will work, but if any users are interested in attempting to work around the problem, I believe it might be possible to stop the problem by proxying the connection on either the Mac build host or the Windows machine.

The Xamarin VS team will hopefully also have a fix for this issue quite soon, so this workaround should only be necessary for a little while longer.

The idea would be to add a proxy (for at least port 5000) on either the Mac or the Windows machine, and then filter out the problematic "junk" messages emitted by the Mac build host so that the Xamarin VS plugin never sees them.

It might be sufficient to filter out any packets that contain the string "system_profiler".

The two messages reported so far are:

(comment 19)
> 2014-08-18 23:31:10.543 system_profiler[1032:54889] Error loading
> /System/Library/SystemProfiler/SPNVMeReporter.spreporter: Error ...

(comment 34)
> 2014-09-10 21:43:06.892 system_profiler[1267:23473]
> platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
Comment 50 Mohit Kheterpal 2014-10-20 12:02:51 UTC
I have checked this issue and able to connect with Yosemite machine using XVS 3.7.0.230 + X.iOS 8.4.0.14 + XCode 6.1. 

I am able to deploy application successfully on device and simulator. However application is failed to launch on device and for this I have filled different Bug 23937
Comment 51 Mark 2014-10-21 08:33:17 UTC
last night i updated mac to OS X Yosemite 10.10 official version, xamarin to 8.4.0.14 | 3.7.0.230, xcode 6.1 and cannot connect/pair from vs.net 2013

platformPluginDictionary: Can't get X86PlatformPlugin, return value 0
platformPluginDictionary: Can't get X86PlatformPlugin, return value 0

very frustrating
Comment 52 Jose Gallardo 2014-10-21 11:32:14 UTC
This issue is caused by some warnings while calling System_Profiler in some environments.

It was fixed on MTBS v3.7 and Master.

Wrench Xamarin iOS 8.4.0 hash including fixed Build Host: 08968c44a2f001eed294833473b488172b8c06ca

Fix on Master: 477d62f59946d315416a8b7ce27ec15a765543d8

Fixed Build Host: v3.7.0.234
Comment 53 Mark 2014-10-21 13:56:29 UTC
is : v3.7.0.234 downloadable?
I just checked for latest update on a mac and it said 0.230 is up to date
What am I missing?
Comment 54 John Wilkins 2014-10-21 14:03:11 UTC
Latest stable is iOS 8.4.0.14 and Build Host 3.7.0.230  - just updated all my software. Looks like 0.234 is not yet on the Stable channel.

Maybe try the other channels? I'm going to wait...
Comment 55 Alan McGovern 2014-10-21 16:28:56 UTC
We have not shipped the binaries yet. We will update this thread and the forums as soon as a binary is ready to be installed.
Comment 57 Brendan Zagaeski (Xamarin Team, assistant) 2014-10-21 17:07:14 UTC
http://xvs.xamarin.com/monotouch-8.4.0.15.pkg

Here is a Xamarin.iOS installer build that includes the fix for the Mac build host. This has resolved the problem in at least two independent test setups. Please keep in mind that this build has only been lightly tested, and only for this particular problem. As a result, there is at least a small chance it might break some other functionality that would normally be caught before a hotfix release. It will be published to the stable channel one it passes the normal additional tests.
Comment 58 Mark 2014-10-21 17:53:38 UTC
installed package, still not working for me

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.

I ran diagnostics from VS.NET pointing to the build host MAC - all green except the last one: 

Comparing Remote and Local monoTouch SDK
Details: Unable to connect to server

that means I cannot connect to build host from vs.net
Comment 59 Mark 2014-10-21 18:02:25 UTC
i swear  i tried many times and was getting error as I mentioned above, just tried again and all worked ;~)
the only thing I did was trying to run command system_profiler -xml.... to see if i am still getting error.
Oh well. Look good now
Thank you
Comment 60 Brendan Zagaeski (Xamarin Team, assistant) 2014-10-21 18:03:43 UTC
There are other possible causes of the "PIN you entered was invalid" message. It can sometimes appear (incorrectly) on the first pairing attempt after connecting to a new build host. For anyone who still sees the problem after installing the new package (and restarting the Xamarin.iOS Build Host app), please email contact@xamarin.com, or one of the support emails listed on https://store.xamarin.com/account/my/subscription/ so we can investigate further. Thanks!
Comment 61 Mark 2014-10-21 18:07:32 UTC
i swear  i tried many times and was getting error as I mentioned above, just tried again and all worked ;~)
the only thing I did was trying to run command system_profiler -xml.... to see if i am still getting error.
Oh well. Look good now
Thank you
Comment 63 Brett Morrison 2014-10-21 20:59:54 UTC
Confirmed this build works for me.  I can now pair the Xamarin.iOS Build Host.
Comment 64 Omer Tamir 2014-10-22 08:10:44 UTC
Confirmed worked from me. I was able to pair the build host great work !
Comment 65 PJ 2014-10-22 13:02:42 UTC
This fix will be available in both the stable and beta channels later today.

If you have not installed the build in comment 57, and are looking to get the fix, please update Xamarin.iOS on your Mac Build Host to 8.4.0.15.
Comment 66 Jacco Rademaker 2014-10-24 04:40:06 UTC
Updated Xamarin.iOS on both Build Host as Visual Studio machine. Pair -> SUCCEEDED!
That rocks, thank you! \o/
Comment 67 Ian Ceicys 2014-11-11 11:13:06 UTC
This issue has been verified by QA and is fixed. Closing this bug.
Test Env:
Xamarin: 3.8.134
Windows 8.1 VM
VS2013.3