Bug 61072 - Simulator continues to show loading indicator and does not load after updating to Xcode 9.2
Summary: Simulator continues to show loading indicator and does not load after updatin...
Status: NEEDINFO
Alias: None
Product: Windows iOS Simulator
Classification: Xamarin
Component: Simulator ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-12-11 21:37 UTC by John Miller [MSFT]
Modified: 2017-12-15 14:22 UTC (History)
6 users (show)

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


Attachments
instructions (988.39 KB, image/png)
2017-12-12 19:28 UTC, Alan McGovern
Details
macos versions (2.20 KB, text/plain)
2017-12-13 01:42 UTC, Jerome Laban
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 for Bug 61072 on Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:
Status:
NEEDINFO

Description John Miller [MSFT] 2017-12-11 21:37:44 UTC
## Overview

After updating to 15.5 and Xcode 9.2, users started seeing the remote simulator continuing to show a black screen and a circular loading indicator and never finish loading. They are unable to use it. Unchecking the setting to use the remote simulator causes the proper simulator to be launched on the Mac successfully. 

Originally, this was thought to be an issue related to the lack of support for Xcode 9.2 in the 15.5 release. Users are updating to 15.5.1 now and still experiencing this issue.

Attached are some logs from one example case. The logs show:

Device state changed:
    UUID: DC676F6D-F804-4A90-AD53-5C35732D9BBF
    State: DeviceNotFound

The user in this case was able to work around the problem by deleting the iPhone 8 (DC676F6D-F804-4A90-AD53-5C35732D9BBF) simulator and recreating it in Xcode. Then it launched successfully wit the remote simulator. Previously, no simulator would work. 

## Version Info from the user

Microsoft Visual Studio Enterprise 2017 
Version 15.5.1
VisualStudio.15.Release/15.5.1+27130.2003
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Enterprise

Visual C# 2017   00369-60000-00001-AA461
Microsoft Visual C# 2017

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

Xamarin   4.8.0.753 (6575bd113)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.8.183 (2577c82ea)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   8.1.0.24 (HEAD/9cfa7836b)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   11.6.1.2 (6857dfc)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Mac:

Visual Studio Enterprise 2017 for Mac
Version 7.3 (build 799)
Installation UUID: c8c50546-9836-454c-8cd0-b33b100b8550
Runtime:
	Mono 5.4.1.7 (2017-06/e66d9abbb27) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 504010007

NuGet
Version: 4.3.1.4445

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	2.0.0
	1.1.1
	1.0.4
SDK: /usr/local/share/dotnet/sdk/2.0.0/Sdks
SDK Versions:
	2.0.0
	1.0.3
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/msbuild/15.0/bin/Sdks

Xamarin.Profiler
Version: 1.6.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Xamarin.Android
Version: 8.1.0.24 (Visual Studio Enterprise)
Android SDK: /Users/lance/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)
		7.1 (API level 25)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 26.0.2
SDK Build Tools Version: 25.0.1

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Inspector
Version: 1.3.2
Hash: 461f09a
Branch: 1.3-release
Build date: Tue, 03 Oct 2017 18:26:57 GMT
Client compatibility: 1

Apple Developer Tools
Xcode 9.2 (13772)
Build 9C40b

Xamarin.iOS
Version: 11.6.1.2 (Visual Studio Enterprise)
Hash: 6857dfcc
Branch: xcode9.2
Build date: 2017-12-04 21:20:41-0500

Xamarin.Mac
Version: 4.0.0.214 (Visual Studio Enterprise)

Build Information
Release ID: 703000799
Git revision: df590420ea5bc681994baefff2eabdaad889fba9
Build date: 2017-12-05 09:23:45-05
Xamarin addins: 51068d6eaf3b6fb4fbc72b33cb869b0ebff04ec5
Build lane: monodevelop-lion-d15-5

Operating System
Mac OS X 10.13.1
Darwin 17.2.0 Darwin Kernel Version 17.2.0
    Fri Sep 29 18:27:05 PDT 2017
    root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64

Enabled user installed addins
MFractor 3.02.18
NuGet Package Management Extensions 0.12.5
ProjectTemplateXamarin 2017.2.0503
Internet of Things (IoT) development (Preview) 7.1
Comment 3 John Miller [MSFT] 2017-12-11 21:42:22 UTC
## Bookkeeping Note

For anyone adding additional comments to this, please include the log file from: C:\Users\Username\AppData\Local\Xamarin\Logs\Xamarin.Simulator\  

Please also include your version information from Visual Studio > About > Copy Information and Visual Studio for Mac > About Visual Studio for Mac > Show Details > Copy Information. 

If there are any other special environment details unique to your situation please include them. It's unclear yet how to reproduce this problem. I have not been able to reproduce it when upgrading to 15.5 or 15.5.1.
Comment 4 john.intihar 2017-12-12 19:03:59 UTC
John, I'm seeing a similar problem.  Version info below.  The Mac I'm connecting to has XCode 9.2.  When I try to debug my project using any of the iPhone simulators, I get the log output listed below, and the small black 'iOS Simulator' window stays in the 'Connecting to Mac..." state with the progress info animation rolling.  Let me know if you want to walk through anything over the phone.  Thanks.

-------------
Simulator log (userid and ip addr masked)
-------------
Startup:
	arguments: --device=D61CB3A6-CC34-4BB2-A929-DFE033DE3E21 --launchsim=//Users/userXXXXXX/Library/Caches/Xamarin/mtbs/builds/TipCalculator/2e58f3325451595eb9fd22e998177620/bin/iPhoneSimulator/Debug/TipCalculator.app -argument=-monodevelop-port -argument=54100 -setenv=__XAMARIN_DEBUG_PORT__=54100 --sdkroot=/Applications/Xcode.app -h=192.225.XXX.XXX -ssh=userXXXXXX --launched-by=devenv-15.0 
	version: 1.2.2.32 (d842edd39255f5f4f2ce10b7ce0bc9fda33e0ad7)
Connection state changed:
	State: Connecting
SSH Connect:
	target: 192.225.XXX.XXX:4231
Using SSH pass phrase
SSH connected
Connection state changed:
	State: Connected
Connection state changed:
	State: CheckingServer
Connection state changed:
	State: Connecting

-------------
VERSION INFO
-------------
Microsoft Visual Studio Community 2017 
Version 15.5.1
VisualStudio.15.Release/15.5.1+27130.2003
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Community

Visual Basic 2017   00369-60000-00001-AA354
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA354
Microsoft Visual C# 2017

Visual F# 4.1   00369-60000-00001-AA354
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.10.01106.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.31125.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017   5.2.51007.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.31106.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio

Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.ApplicationInsights   1.0
Allows user to instrument their Service Fabric projects for Application Insights.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript UWP Project System   2.0
JavaScript UWP Project System

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure HDInsight Azure Node   2.2.9000.1
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service   2.2.9000.1
Language service for Hive query

Microsoft Azure Service Fabric Tools for Visual Studio   1.8
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Stream Analytics Language Service   2.2.9000.1
Language service for Azure Stream Analytics

Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51120.3

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   4.8.4-pre (3fe64e3)
Support for debugging Mono processes with Visual Studio.

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

SQL Server Data Tools   15.1.61710.120
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript Tools   15.5.11025.1
TypeScript Tools for Microsoft Visual Studio

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for Unity   3.5.0.2
Visual Studio Tools for Unity

Visual Studio Tools for Universal Windows Apps   15.0.27128.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

WebJobs Tools v1.0.0   15.0.31106.0
WebJobs Tools v1.0.0

Xamarin   4.8.0.753 (6575bd113)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.8.183 (2577c82ea)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   8.1.0.24 (HEAD/9cfa7836b)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   11.6.1.2 (6857dfc)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 5 Alan McGovern 2017-12-12 19:28:18 UTC
Created attachment 25984 [details]
instructions

Hi,

Can you also grab the log files from this location on your Mac? 

~/Library/Logs/Xamarin/Simulator.Server

The simplest way to get access to them is to start the 'Console' application (not the Terminal application!) and go to the 'Simulator.Server' folder under the 'Xamarin' node  which is under the '~/Library/Logs' node.

If you can give us a few of those files we might be able to diagnose what's going on.

I also have one suggestion - Can you manually start Xcode 9.2 at least once on your mac and see if the issue goes away.
Comment 6 Jerome Laban 2017-12-12 20:03:27 UTC
I've already run XCode 9.2, and I still have the issue.

Here's a exception in the Simulator.Server file:

system: Dec 12 14:48:56 mmm01 SDKExamples[4297]: assertion failed: 17C88 15C107: libxpc.dylib + 72226 [EE650BC3-0539-32F0-9205-ECF6755E856F]: 0x7d
Foundation.ObjCException: NSInvalidArgumentException: [NOTE: this exception originated in the server.]
-[SimulatorKit.SimDeviceLegacyHIDClient sendWithMessage:]: unrecognized selector sent to instance 0x7ffedbfab420
  at ObjCRuntime.Runtime.ThrowNSException (System.IntPtr ns_exception) [0x0000c] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at ObjCRuntime.Runtime.throw_ns_exception (System.IntPtr exc) [0x00001] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at (wrapper managed-to-native) MonoTouch.Hosting.Internal.Messaging:xamarin_void_objc_msgSend_IntPtr (intptr,intptr,intptr)
  at Bindings.SimDeviceLegacyHidClient.Send (Foundation.NSData indigoHIDMessage) [0x0001f] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.SimulatorKitHidConnector.Send (System.IntPtr ptr, System.UInt32 size) [0x00028] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.IndigoHidSubsystem.SendEvents (MonoTouch.Hosting.IndigoHidSubsystem+DeviceType deviceType, System.Collections.Generic.IList`1[T] evts) [0x00087] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.IndigoHidSubsystem.SendDigitizerEvents (MonoTouch.Hosting.Touch[] touches) [0x00199] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.CombinedEventServer.SendTouchEvents (MonoTouch.Hosting.Touch[] touches) [0x00000] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at Xamarin.Simulator.Server.SessionManager.Touch (System.String surfaceId, Xamarin.Simulator.Core.TouchEvent[] touchEvents) [0x00110] in <c42175f18a744abc8d543466fe3b28b6>:0 
  at Xamarin.Simulator.Server.SimulatorServer+<>c.<OnTouchInputEventsMessage>b__40_0 (Xamarin.Simulator.Server.SessionManager m, Xamarin.Simulator.Core.Protocol.TouchInputEventsMessage msg) [0x0000d] in <c42175f18a744abc8d543466fe3b28b6>:0 
  at Xamarin.Simulator.Server.SimulatorServer+<>c__DisplayClass42_0`1[T].<ExecuteOnSession>b__0 (System.Object s) [0x00000] in <c42175f18a744abc8d543466fe3b28b6>:0 
  at AppKit.AppKitSynchronizationContext+<Send>c__AnonStorey1.<>m__0 () [0x00000] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at Foundation.NSActionDispatcher.Apply () [0x00001] in <508e7cb2c6264a17af3e16681aeba06b>:0 
--- End of stack trace from previous location where exception was thrown ---
  at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSend (intptr,intptr)
  at AppKit.NSApplication.Run () [0x00018] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at Xamarin.Simulator.Server.Program.Main (System.String[] args) [0x000e0] in <c42175f18a744abc8d543466fe3b28b6>:0
Comment 7 Simon Taylor 2017-12-12 20:17:56 UTC
Recreating the Simulator has fixed the problem for me.  Thanks for your help.
Comment 8 Jerome Laban 2017-12-12 20:32:04 UTC
Recreating the simulator did not fix the issue on my side, same unrecognized selector exception.
Comment 9 john.intihar 2017-12-12 20:38:58 UTC
How do i delete a simulator from XCode?  I can see them listed in the /preferences/components view, but there are no controls with which I can delete them.
Comment 10 Simon Taylor 2017-12-12 20:51:44 UTC
Hi John.  From the XCode Window menu, select the Devices & Simulators option and then select the Simulators tab.  Now right-click on the simulator you want to delete and select the Delete option from the menu.  You can then recreate the simulator using the + button at the bottom of the window.
Comment 11 john.intihar 2017-12-12 23:59:01 UTC
OK, it's working now.  I followed your instructions to delete the iPhone 8 and added it back with iOS 11.2.  Thanks for the help, and let me know if any additional log files will help.
Comment 12 Alan McGovern 2017-12-13 00:48:40 UTC
Jerome, you need to update to the latest stable release, the one which added support for Xcode 9.2. That will resolve your issue.

For the rest of you, i'd love a copy of the logs (windows side and mac side) from a session where you were selecting a simulator that didn't work. A copy of the logs from when you deleted and recreated the simulator would also be useful for comparison purposes.
Comment 13 Jerome Laban 2017-12-13 01:42:03 UTC
@alan, I'm already on the latest stable on both the PC and Mac, I've attached my version.
Comment 14 Jerome Laban 2017-12-13 01:42:28 UTC
Created attachment 25986 [details]
macos versions
Comment 15 Alan McGovern 2017-12-13 08:00:39 UTC
Jerome, can you attach a full copy of the simulator log files from both windows and Mac?
Comment 16 Alan McGovern 2017-12-13 08:42:53 UTC
Jerome, also can you confirm that you have version 1.2.2.32 of the remoted simulator installed too?
Comment 17 Jerome Laban 2017-12-13 12:54:54 UTC
Alan, the version of the simulator I have installed is 1.2.0.32-d15-5+5812750.

Should'nt this be updated alongside the visual studio installer ? It's been a while since I installed this tool manually.
Comment 18 Jerome Laban 2017-12-13 13:01:38 UTC
Alan, I found out what happened. I have both VS preview and stable installed, and the simulator is a shared component (C:\Program Files (x86)\Xamarin\Simulator). The stable did not have the simulator checked as part of the installation, and the preview version of the simulator was installed.

Should'nt the simulator be a VS installation specific tool ? This situation is most probably going to happen again for people having both preview and stable installed.

It works a lot better now, thanks :)
Comment 19 Jeff 2017-12-13 18:36:42 UTC
I'm not having any luck even after deleting and reinstalling the simulators. Here's my VS 2017 version info as requested from the PC:

Microsoft Visual Studio Professional 2017 
Version 15.5.1
VisualStudio.15.Release/15.5.1+27130.2003
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Professional

Visual Basic 2017   00369-60000-00001-AA830
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA830
Microsoft Visual C# 2017

Visual C++ 2017   00369-60000-00001-AA830
Microsoft Visual C++ 2017

Visual F# 4.1   00369-60000-00001-AA830
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.10.01106.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.31125.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017   5.2.51007.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.31106.0
Azure App Service Tools v3.0.0

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

ILSpy.AddIn   1.0
Integration of the ILSpy Decompiler into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript UWP Project System   2.0
JavaScript UWP Project System

JetBrains ReSharper Ultimate 2017.1.1    Build 108.0.20170407.122957
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Service Fabric Tools for Visual Studio   1.8
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51120.3

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   4.8.4-pre (3fe64e3)
Support for debugging Mono processes with Visual Studio.

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

SQL Server Data Tools   15.1.61710.120
Microsoft SQL Server Data Tools

TypeScript Tools   15.5.11025.1
TypeScript Tools for Microsoft Visual Studio

Visual Assist   
For more information about Visual Assist, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2017 Whole Tomato Software, Inc.

Visual C++ for Cross Platform Mobile Development (Android)   15.0.27005.02
Visual C++ for Cross Platform Mobile Development (Android)

Visual C++ for Cross Platform Mobile Development (iOS)   15.0.27005.02
Visual C++ for Cross Platform Mobile Development (iOS)

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

Visual Studio Tools for Unity   3.5.0.2
Visual Studio Tools for Unity

Visual Studio Tools for Universal Windows Apps   15.0.27128.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

WebJobs Tools v1.0.0   15.0.31201.0
WebJobs Tools v1.0.0

Xamarin   4.8.0.753 (6575bd113)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.8.183 (2577c82ea)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   8.1.0.24 (HEAD/9cfa7836b)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   11.6.1.2 (6857dfc)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.


And here's my info from VS on the Mac:

=== Visual Studio Professional 2017 for Mac ===

Version 7.3 (build 799)
Installation UUID: c9ec33c3-f60d-4d75-b748-f4c6003940a1
Runtime:
	Mono 5.4.1.7 (2017-06/e66d9abbb27) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 504010007

=== NuGet ===

Version: 4.3.1.4445

=== .NET Core ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Version: 2.0.0
SDK: /usr/local/share/dotnet/sdk/2.0.0/Sdks
SDK Version: 2.0.0
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.6.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 9.2 (13772)
Build 9C40b

=== Xamarin.iOS ===

Version: 11.6.1.2 (Visual Studio Professional)
Hash: 6857dfcc
Branch: xcode9.2
Build date: 2017-12-04 21:20:41-0500

=== Xamarin.Android ===

Version: 8.1.0.24 (Visual Studio Professional)
Android SDK: /Users/jeff/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Inspector ===

Not Installed

=== Xamarin.Mac ===

Version: 4.0.0.214 (Visual Studio Professional)

=== Build Information ===

Release ID: 703000799
Git revision: df590420ea5bc681994baefff2eabdaad889fba9
Build date: 2017-12-05 09:23:45-05
Xamarin addins: 51068d6eaf3b6fb4fbc72b33cb869b0ebff04ec5
Build lane: monodevelop-lion-d15-5

=== Operating System ===

Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
    Thu Jun 15 17:36:27 PDT 2017
    root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Internet of Things (IoT) development (Preview) 7.1



Here's a snippet of the log from my Mac which shows an exception:
system: Dec 13 10:29:38 mac diagnosticd[1144]: unsupported XPC object: OS_xpc_dictionary
system: Dec 13 10:29:40 mac App1.iOS[1211]: assertion failed: 16G29 15C107: libxpc.dylib + 72226 [EE650BC3-0539-32F0-9205-ECF6755E856F]: 0x7d
Foundation.ObjCException: NSInvalidArgumentException: [NOTE: this exception originated in the server.]
-[SimulatorKit.SimDeviceLegacyHIDClient sendWithMessage:]: unrecognized selector sent to instance 0x7fe71bd11b40
  at ObjCRuntime.Runtime.ThrowNSException (System.IntPtr ns_exception) [0x0000c] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at ObjCRuntime.Runtime.throw_ns_exception (System.IntPtr exc) [0x00001] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at (wrapper managed-to-native) MonoTouch.Hosting.Internal.Messaging:xamarin_void_objc_msgSend_IntPtr (intptr,intptr,intptr)
  at Bindings.SimDeviceLegacyHidClient.Send (Foundation.NSData indigoHIDMessage) [0x0001f] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.SimulatorKitHidConnector.Send (System.IntPtr ptr, System.UInt32 size) [0x00028] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.IndigoHidSubsystem.SendEvents (MonoTouch.Hosting.IndigoHidSubsystem+DeviceType deviceType, System.Collections.Generic.IList`1[T] evts) [0x00087] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.IndigoHidSubsystem.SendDigitizerEvents (MonoTouch.Hosting.Touch[] touches) [0x00199] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at MonoTouch.Hosting.CombinedEventServer.SendTouchEvents (MonoTouch.Hosting.Touch[] touches) [0x00000] in <88c1a485a41746188a5c87cbc98b56e8>:0 
  at Xamarin.Simulator.Server.SessionManager.Touch (System.String surfaceId, Xamarin.Simulator.Core.TouchEvent[] touchEvents) [0x00110] in <c42175f18a744abc8d543466fe3b28b6>:0 
  at Xamarin.Simulator.Server.SimulatorServer+<>c.<OnTouchInputEventsMessage>b__40_0 (Xamarin.Simulator.Server.SessionManager m, Xamarin.Simulator.Core.Protocol.TouchInputEventsMessage msg) [0x0000d] in <c42175f18a744abc8d543466fe3b28b6>:0 
  at Xamarin.Simulator.Server.SimulatorServer+<>c__DisplayClass42_0`1[T].<ExecuteOnSession>b__0 (System.Object s) [0x00000] in <c42175f18a744abc8d543466fe3b28b6>:0 
  at AppKit.AppKitSynchronizationContext+<Send>c__AnonStorey1.<>m__0 () [0x00000] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at Foundation.NSActionDispatcher.Apply () [0x00001] in <508e7cb2c6264a17af3e16681aeba06b>:0 
--- End of stack trace from previous location where exception was thrown ---
  at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSend (intptr,intptr)
  at AppKit.NSApplication.Run () [0x00018] in <508e7cb2c6264a17af3e16681aeba06b>:0 
  at Xamarin.Simulator.Server.Program.Main (System.String[] args) [0x000e0] in <c42175f18a744abc8d543466fe3b28b6>:0 


And the log file from my PC from that same session:
Startup:
	arguments: --device=48C07699-ECA5-4BD0-B050-2F666A70C4F4 --launchsim=//Users/jeff/Library/Caches/Xamarin/mtbs/builds/App1.iOS/61e7b5e1c01a10a58d0e8ff50842165a/bin/iPhoneSimulator/Debug/App1.iOS.app -argument=-monodevelop-port -argument=53271 -setenv=__XAMARIN_DEBUG_PORT__=53271 --sdkroot=/Applications/Xcode.app -h=192.168.180.130 -ssh=jeff weinstein --launched-by=devenv-15.0 
	version: 1.2.0.32 (58127509f49b2041fdd4926c8d915f1c5400413e)
Connection state changed:
	State: Connecting
SSH Connect:
	target: 192.168.180.130:4231
Using SSH pass phrase
SSH connected
Connection state changed:
	State: Connected
Connection state changed:
	State: CheckingServer
Connection state changed:
	State: Connecting
Connection state changed:
	State: CheckingServer
Connection state changed:
	State: Connected
Start device request:
	Current State: Unknown
	UUID: 48C07699-ECA5-4BD0-B050-2F666A70C4F4
	Name: iPhone 8
	Platform: iOS
	Version: 11.2
Device state changed:
	UUID: 48C07699-ECA5-4BD0-B050-2F666A70C4F4
	State: Starting
Device state changed:
	UUID: 48C07699-ECA5-4BD0-B050-2F666A70C4F4
	State: Started
SizeForScreen:
	Monitor: 0,0,2560,1400
	Scale: 1,1
	Source: 750,1334
	extraHeight: 84
Connection state changed:
	State: Disconnected
Connection state changed:
	State: Connecting
SSH Connect:
	target: 192.168.180.130:4231
Using SSH pass phrase
SSH connected
Connection state changed:
	State: Connected
Connection state changed:
	State: CheckingServer
Connection state changed:
	State: Disconnected
Exit:
	Exit Code: 0
Warning: Server setup error
Renci.SshNet.Common.SshConnectionException: Client not connected.
   at Renci.SshNet.Session.WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
   at Renci.SshNet.Session.Renci.SshNet.ISession.WaitOnHandle(WaitHandle waitHandle)
   at Renci.SshNet.Channels.ChannelSession.Open()
   at Renci.SshNet.SshCommand.BeginExecute(AsyncCallback callback, Object state)
   at Xamarin.Simulator.Core.Protocol.SshCommandExtensions.RunCommandAsync(SshClient client, String commandText) in C:\d\lanes\5407\58127509\source\ios-sim-sharp\Xamarin.Simulator.Core\Protocol\SshCommands.cs:line 14
   at Xamarin.Simulator.Core.Protocol.SshCommandExtensions.<GetIsMonoProcessRunningAsync>d__2.MoveNext() in C:\d\lanes\5407\58127509\source\ios-sim-sharp\Xamarin.Simulator.Core\Protocol\SshCommands.cs:line 32
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.Simulator.Core.Protocol.SshNetworkClientConnection.<EnsureServerRunningAsync>d__20.MoveNext() in C:\d\lanes\5407\58127509\source\ios-sim-sharp\Xamarin.Simulator.Core\Protocol\SshNetworkClientConnection.cs:line 125
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.Simulator.Core.Protocol.SshNetworkClientConnection.<ConnectCoreAsync>d__19.MoveNext() in C:\d\lanes\5407\58127509\source\ios-sim-sharp\Xamarin.Simulator.Core\Protocol\SshNetworkClientConnection.cs:line 93
System.InvalidOperationException: The stream is currently in use by a previous operation on the stream.
   at System.IO.StreamWriter.CheckAsyncTaskInProgress()
   at System.IO.StreamWriter.Write(String value)
   at Xamarin.Simulator.Core.StreamMetricSystem.Track(String eventId, IReadOnlyDictionary`2 data) in C:\d\lanes\5407\58127509\source\ios-sim-sharp\Xamarin.Simulator.Core\StreamMetricSystem.cs:line 76
   at Xamarin.Simulator.Core.CombinedMetricSystem.Track(String eventId, IReadOnlyDictionary`2 data) in C:\d\lanes\5407\58127509\source\ios-sim-sharp\Xamarin.Simulator.Core\CombinedMetricSystem.cs:line 54
   at Xamarin.Simulator.Windows.App.<OnConnectionStateChanged>d__14.MoveNext() in C:\d\lanes\5407\58127509\source\ios-sim-sharp\Xamarin.Simulator.Windows\App.xaml.cs:line 220
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Comment 20 Jeff 2017-12-13 18:57:01 UTC
Nevermind. Soon after posting John Miller had me try updating my remoted installation version which solved the problem. The version I had installed was from the provided link from the 15.5 release notes.
Comment 21 John Miller [MSFT] 2017-12-15 14:22:29 UTC
## Bookkeeping Note

There seems to be a few scenarios discussed above that might lead users to this bug. To avoid confusion, let me clarify what is still outstanding. 

There seems to be a case where the simulator will not connect, even with the latest version. The workaround has been to delete the simulator with the same UUID that the logs show it has trouble connecting with. Then, recreate that simulator on the Mac and it will start to connect again. This appears to be what is discussed in Comment #4. This bug will continue to track that scenario. 

Other comments with similar symptoms appear to be a result of an outdated remote simulator version.