dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.28k stars 1.76k forks source link

Visual Studio for Windows doesn't connect to mac #4163

Closed arivoir closed 2 years ago

arivoir commented 2 years ago

Description

I'm trying to run a MAUI project from Visual Studio 2022 17.1.0 Preview 2.0, but I can't connect to mac

Steps to Reproduce

  1. Create a new MAUI project
  2. Try to pair the mac

Version with bug

Preview 12 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

All

Did you find any workaround?

No

Relevant log output

Xamarin Information: 0 : Xamarin - 17.1.0.269-main+be6679a: 01/17/2022 14:28:49Z
    DateTime=2022-01-17T14:28:49.9853520Z: 01/17/2022 14:28:49Z
Xamarin Information: 0 : !Xamarin - 17.1.0.269-main+be6679a: 01/17/2022 14:28:49Z
    DateTime=2022-01-17T14:28:49.9863518Z: 01/17/2022 14:28:49Z
Xamarin.VisualStudio.TastyPackage Information: 0 : Hooked up SDB tracing adapter: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.2243515Z: 01/17/2022 14:28:50Z
Xamarin.VisualStudio.TastyPackage Information: 0 : Initialization finished: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.2693530Z: 01/17/2022 14:28:50Z
Xamarin.VisualStudio.TastyPackage Information: 0 : Hooked up SDB tracing adapter: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.2733521Z: 01/17/2022 14:28:50Z
Xamarin.VisualStudio.TastyPackage Information: 0 : Initialization finished: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.2843530Z: 01/17/2022 14:28:50Z
Xamarin.VisualStudio.Android.XamarinAndroidPackage Warning: 0 : Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.2853515Z: 01/17/2022 14:28:50Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Connecting to Local Broker...: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.5803521Z: 01/17/2022 14:28:50Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : !Connecting to Local Broker...: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.5803521Z: 01/17/2022 14:28:50Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking Broker 17.1.0.269 installation...: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.6523507Z: 01/17/2022 14:28:50Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Checking Broker 17.1.0.269 installation...: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.6533515Z: 01/17/2022 14:28:50Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Starting Broker 17.1.0.269 in port 56137...: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.7223533Z: 01/17/2022 14:28:50Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Starting Broker 17.1.0.269 in port 56137...: 01/17/2022 14:28:50Z
    DateTime=2022-01-17T14:28:50.7223533Z: 01/17/2022 14:28:50Z
Xamarin.VisualStudio.Android.Setup.AndroidSdkSetup Information: 0 : androidsdksetup: processing AndroidStarted event: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.2303532Z: 01/17/2022 14:28:51Z
Xamarin.VisualStudio.Android.Setup.AndroidSdkSetup Information: 0 : androidsdksetup: verify mustCheckIfSolutionIsReady:True delay:00:00:02: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.2333521Z: 01/17/2022 14:28:51Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Broker 17.1.0.269 started successfully: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.2503517Z: 01/17/2022 14:28:51Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Broker 17.1.0.269 started successfully: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.2503517Z: 01/17/2022 14:28:51Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent Broker 17.1.0.269 is running: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.8523505Z: 01/17/2022 14:28:51Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Successfully connected to Local Broker: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.8743517Z: 01/17/2022 14:28:51Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : !Successfully connected to Local Broker: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.8743517Z: 01/17/2022 14:28:51Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Starting IDB Local Agent...: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.8993513Z: 01/17/2022 14:28:51Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : !Starting IDB Local Agent...: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.8993513Z: 01/17/2022 14:28:51Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking IDB.Local 17.1.0.269 installation...: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.9143516Z: 01/17/2022 14:28:51Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Checking IDB.Local 17.1.0.269 installation...: 01/17/2022 14:28:51Z
    DateTime=2022-01-17T14:28:51.9153541Z: 01/17/2022 14:28:51Z
Xamarin.VisualStudio.TastyPackage Information: 0 : Hooked up SDB tracing adapter: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.4803518Z: 01/17/2022 14:28:52Z
Xamarin.VisualStudio.TastyPackage Information: 0 : Initialization finished: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.4923519Z: 01/17/2022 14:28:52Z
Xamarin.VisualStudio.IOS.XamarinIOSPackage Warning: 0 : Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage.: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.4953859Z: 01/17/2022 14:28:52Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Starting Agent IDB.Local 17.1.0.269...: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.5223792Z: 01/17/2022 14:28:52Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Starting IDB.Local 17.1.0.269 in port 56137...: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.5223792Z: 01/17/2022 14:28:52Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Starting IDB.Local 17.1.0.269 in port 56137...: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.5223792Z: 01/17/2022 14:28:52Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : IDB.Local 17.1.0.269 started successfully: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.9563525Z: 01/17/2022 14:28:52Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !IDB.Local 17.1.0.269 started successfully: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.9563525Z: 01/17/2022 14:28:52Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent IDB.Local 17.1.0.269 is running: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.9573510Z: 01/17/2022 14:28:52Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent IDB.Local 17.1.0.269 is running: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.9603546Z: 01/17/2022 14:28:52Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : Successfully started IDB Local Agent: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.9613536Z: 01/17/2022 14:28:52Z
Xamarin.VisualStudio.IOS.Messaging.LocalMessagingInitializer Information: 0 : !Successfully started IDB Local Agent: 01/17/2022 14:28:52Z
    DateTime=2022-01-17T14:28:52.9613536Z: 01/17/2022 14:28:52Z
Xamarin.VisualStudio.Android.Setup.AndroidSdkValidation Information: 0 : androidsdksetup: verify android sdk installed: 01/17/2022 14:28:53Z
    DateTime=2022-01-17T14:28:53.2433530Z: 01/17/2022 14:28:53Z
Xamarin.VisualStudio.Android.Setup.AndroidSdkValidation Information: 0 : androidsdksetup: removing android sdk errors: 01/17/2022 14:28:53Z
    DateTime=2022-01-17T14:28:53.2443532Z: 01/17/2022 14:28:53Z
Xamarin.VisualStudio.Android.Setup.AutoSdk Information: 0 : androidsdksetup: running auto sdk on all android projects: 01/17/2022 14:28:53Z
    DateTime=2022-01-17T14:28:53.2523504Z: 01/17/2022 14:28:53Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:28:56Z
    DateTime=2022-01-17T14:28:56.9273788Z: 01/17/2022 14:28:56Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:01Z
    DateTime=2022-01-17T14:29:01.9482408Z: 01/17/2022 14:29:01Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:06Z
    DateTime=2022-01-17T14:29:06.9665599Z: 01/17/2022 14:29:06Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:11Z
    DateTime=2022-01-17T14:29:11.9753230Z: 01/17/2022 14:29:11Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:16Z
    DateTime=2022-01-17T14:29:16.9900771Z: 01/17/2022 14:29:16Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:22Z
    DateTime=2022-01-17T14:29:22.0066163Z: 01/17/2022 14:29:22Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to ConfiguringState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:24Z
    DateTime=2022-01-17T14:29:24.3461622Z: 01/17/2022 14:29:24Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:24Z
    DateTime=2022-01-17T14:29:24.4447955Z: 01/17/2022 14:29:24Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking host configuration for connecting to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:24Z
    DateTime=2022-01-17T14:29:24.4447955Z: 01/17/2022 14:29:24Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking SSH configuration...: 01/17/2022 14:29:24Z
    DateTime=2022-01-17T14:29:24.5120422Z: 01/17/2022 14:29:24Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking SSH configuration...: 01/17/2022 14:29:24Z
    DateTime=2022-01-17T14:29:24.5120422Z: 01/17/2022 14:29:24Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Initializing environment...: 01/17/2022 14:29:25Z
    DateTime=2022-01-17T14:29:25.6143248Z: 01/17/2022 14:29:25Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Initializing environment...: 01/17/2022 14:29:25Z
    DateTime=2022-01-17T14:29:25.6143248Z: 01/17/2022 14:29:25Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking available disk space...: 01/17/2022 14:29:25Z
    DateTime=2022-01-17T14:29:25.8587313Z: 01/17/2022 14:29:25Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking available disk space...: 01/17/2022 14:29:25Z
    DateTime=2022-01-17T14:29:25.8587313Z: 01/17/2022 14:29:25Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking host configuration for connecting to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.1549620Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking host configuration for connecting to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.1549620Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguringState to ConfiguredState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.1768048Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Host 'Alvaro’s MacBook Pro' is configured correctly: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.1902700Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Host 'Alvaro’s MacBook Pro' is configured correctly: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.1902700Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConfiguredState to ConnectingState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.1962707Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.2135512Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting connection to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.2135512Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking Broker 17.1.0.269 installation...: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.7916411Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Checking Broker 17.1.0.269 installation...: 01/17/2022 14:29:26Z
    DateTime=2022-01-17T14:29:26.7916411Z: 01/17/2022 14:29:26Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:27Z
    DateTime=2022-01-17T14:29:27.0202589Z: 01/17/2022 14:29:27Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Starting Broker 17.1.0.269 in port 54642...: 01/17/2022 14:29:27Z
    DateTime=2022-01-17T14:29:27.9313695Z: 01/17/2022 14:29:27Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Starting Broker 17.1.0.269 in port 54642...: 01/17/2022 14:29:27Z
    DateTime=2022-01-17T14:29:27.9313695Z: 01/17/2022 14:29:27Z
Xamarin.Messaging.Ssh.SshCommands Information: 0 : A valid Mono installation has been found at '/Library/Frameworks/Mono.framework/Versions/Current/bin/mono64': 01/17/2022 14:29:28Z
    DateTime=2022-01-17T14:29:28.2847712Z: 01/17/2022 14:29:28Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Broker 17.1.0.269 started successfully: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.3822515Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Broker 17.1.0.269 started successfully: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.3822515Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent Broker 17.1.0.269 is running: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.7713740Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting connection to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8143280Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting connection to 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8143280Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ConnectingState to SshConnectedState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8153289Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : SSH connection to 'Alvaro’s MacBook Pro' has been established...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8456016Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !SSH connection to 'Alvaro’s MacBook Pro' has been established...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8456016Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from SshConnectedState to AgentsStartingState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8767050Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting registered Agents: IDB 17.1.0.269...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8992200Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting registered Agents: IDB 17.1.0.269...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.8992200Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting IDB 17.1.0.269...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.9245656Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting IDB 17.1.0.269...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.9245656Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Checking IDB 17.1.0.269 installation...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.9295350Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Checking IDB 17.1.0.269 installation...: 01/17/2022 14:29:30Z
    DateTime=2022-01-17T14:29:30.9295350Z: 01/17/2022 14:29:30Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:32Z
    DateTime=2022-01-17T14:29:32.0303373Z: 01/17/2022 14:29:32Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Starting Agent IDB 17.1.0.269...: 01/17/2022 14:29:33Z
    DateTime=2022-01-17T14:29:33.5761840Z: 01/17/2022 14:29:33Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : Starting IDB 17.1.0.269 in port 54642...: 01/17/2022 14:29:33Z
    DateTime=2022-01-17T14:29:33.5771876Z: 01/17/2022 14:29:33Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !Starting IDB 17.1.0.269 in port 54642...: 01/17/2022 14:29:33Z
    DateTime=2022-01-17T14:29:33.5771876Z: 01/17/2022 14:29:33Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:35Z
    DateTime=2022-01-17T14:29:35.8698676Z: 01/17/2022 14:29:35Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:37Z
    DateTime=2022-01-17T14:29:37.0358266Z: 01/17/2022 14:29:37Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent IDB 17.1.0.269 is running: 01/17/2022 14:29:39Z
    DateTime=2022-01-17T14:29:39.8572733Z: 01/17/2022 14:29:39Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : IDB 17.1.0.269 started successfully: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.0328758Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Ssh.MessagingCommands Information: 0 : !IDB 17.1.0.269 started successfully: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.0328758Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : Agent IDB 17.1.0.269 is running: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.0328758Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : IDB 17.1.0.269 started: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.0338879Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !IDB 17.1.0.269 started: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.0338879Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting registered Agents: ...: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.0686195Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting registered Agents: ...: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.0686195Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from AgentsStartingState to AgentsStartedState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.1014638Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : The Agents have been started successfully: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.1862840Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !The Agents have been started successfully: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.1862840Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from AgentsStartedState to ValidatingState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.2017020Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Performing server validations against 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.2844527Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Performing server validations against 'Alvaro’s MacBook Pro'...: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.2844527Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:40Z
    DateTime=2022-01-17T14:29:40.9590472Z: 01/17/2022 14:29:40Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : The dotnet SDK is already installed. Version: '6.0.200-preview.21617.4': 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.1795153Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !The dotnet SDK is already installed. Version: '6.0.200-preview.21617.4': 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.1795153Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : dotnet validation completed: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.1825157Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !dotnet validation completed: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.1825157Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Sdk packs found: Microsoft.iOS.Sdk: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.6955517Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Sdk packs found: Microsoft.iOS.Sdk: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.6955517Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : dotnet validation completed: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.7125606Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !dotnet validation completed: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.7125606Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : The dotnet ios workload is already installed. Version: '15.0.101-preview.11.551': 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.7366661Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !The dotnet ios workload is already installed. Version: '15.0.101-preview.11.551': 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.7366661Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Initializing IDB environment...: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.8207501Z: 01/17/2022 14:29:41Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Initializing IDB environment...: 01/17/2022 14:29:41Z
    DateTime=2022-01-17T14:29:41.8207501Z: 01/17/2022 14:29:41Z
Xamarin.VisualStudio.IOS.RemoteSettingsProvider Information: 0 : Server Settings:
- mlaunch path: 
- Xcode version: 13.1
- Xcode path: /Applications/Xcode.app
: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.0084992Z: 01/17/2022 14:29:42Z
Xamarin.VisualStudio.IOS.RemoteSettingsProvider Information: 0 : !Server Settings:
- mlaunch path: 
- Xcode version: 13.1
- Xcode path: /Applications/Xcode.app
: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.0084992Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from ValidatingState to DisconnectingState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.0204993Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting disconnection from Alvaro’s MacBook Pro...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.0316248Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting disconnection from Alvaro’s MacBook Pro...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.0316248Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.0466290Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Validating Mac operating system version compatibility...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1484244Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Validating Mac operating system version compatibility...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1484244Z: 01/17/2022 14:29:42Z
System.Net.Mqtt.Sdk.Bindings.TcpChannel Warning: 0 : The underlying communication stream has completed sending bytes. The observable sequence will be completed and the channel will be disposed: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1599049Z: 01/17/2022 14:29:42Z
System.Net.Mqtt.Sdk.ClientPacketListener Warning: 0 : Client vs19220arivo - Packet Channel observable sequence has been completed: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1619101Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Client.MessagingClient Error: 0 : An error occurred on client vs19220arivo while executing a post for topic xma/get-env-info
Xamarin.Messaging.Exceptions.MessagingException: No operation can be performed on client {0} because the underlying client was disconnected
   at Xamarin.Messaging.Client.MessagingReceiver.ValidateState() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessagingReceiver.cs:line 230
   at Xamarin.Messaging.Client.MessagingReceiver.<GetResponseReceiver>d__14`1.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessagingReceiver.cs:line 95
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__21`2.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessagingClient.cs:line 143: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1855149Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectingState to DisconnectedState on Alvaro’s MacBook Pro (192.168.0.110): 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1855149Z: 01/17/2022 14:29:42Z
Xamarin.VisualStudio.IOS.Messaging.MacOsxVersionValidator Warning: 0 : An unexpected error occurred while trying to get environment information for the connected Mac: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1865479Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Checking Xcode version compatibility...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1885516Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Checking Xcode version compatibility...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.1885516Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Validating Xcode license state...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.2028578Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Validating Xcode license state...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.2028578Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.IOSServerStateContextExtensions Error: 0 : An error occurred while trying to get the current Xcode location in the connected Mac
Xamarin.Messaging.Exceptions.MessagingException: No operation can be performed on client  because the underlying MQTT client was disconnected
   at Xamarin.Messaging.Client.MessagingClient.ValidateState() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessagingClient.cs:line 462
   at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__21`2.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessagingClient.cs:line 129
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Xamarin.Messaging.Integration.State.IOSServerStateContextExtensions.<GetXcodeLocationAsync>d__3.MoveNext() in D:\a\_work\1\s\src\Core\VisualStudio.IOS\Messaging\IOSServerStateContextExtensions.cs:line 32: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.2191982Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Ssh.MessagingService Information: 0 : The underlying client has been closed: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.2201723Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Starting disconnection from Alvaro’s MacBook Pro...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.2504612Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !Starting disconnection from Alvaro’s MacBook Pro...: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.2504612Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : The connection to 'Alvaro’s MacBook Pro' has been finished: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.3985141Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : !The connection to 'Alvaro’s MacBook Pro' has been finished: 01/17/2022 14:29:42Z
    DateTime=2022-01-17T14:29:42.3985141Z: 01/17/2022 14:29:42Z
Xamarin.Messaging.Client.PingHandler Information: 0 : vs19220arivo received ping. Sending acknowledge...: 01/17/2022 14:29:47Z
    DateTime=2022-01-17T14:29:47.0574483Z: 01/17/2022 14:29:47Z
jfversluis commented 2 years ago

Hey there! Does it work from Visual Studio 2019 or VS2022 stable version? I haven't seen any of these problems myself. And from the logs I see No operation can be performed on client because the underlying MQTT client was disconnected which indicates that there might be a problem with the network or the connection being interrupted?

Maybe have a look at the Docs, there is also a troubleshooting guide and see if that helps: https://docs.microsoft.com/xamarin/ios/get-started/installation/windows/connecting-to-mac/

J-Swift commented 2 years ago

I might be having similar issues. I had a lot of trouble with the initial 'Pair to Mac'. Now it seems to connect fine but when I actually try to build and run on the mac, I end up with what looks like MQTT errors:

Severity    Code    Description Project File    Line    Suppression State
Error       MessagingRemoteException: An error occurred on client Build while executing a reply for topic xvs/build/execute-task/MyApp/76cd35f002fCompileAppManifest
ArgumentNullException: Value cannot be null.
Parameter name: path1
    MyApp   C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.2.200-preview.12.4\tools\msbuild\iOS\Xamarin.Shared.targets  455

and

Severity    Code    Description Project File    Line    Suppression State
Warning     An error occurred on client Build while executing a reply for topic xvs/build/execute-task/MyApp/76cd35f002fCompileAppManifest
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Xamarin.Messaging.Client.ApplicationMessageExtensions.<>c__DisplayClass10_0`1.<OfResponse>b__1(MqttApplicationMessage m) in D:\a\_work\1\s\src\Xamarin.Messaging.Client\Extensions\ApplicationMessageExtensions.cs:line 197
   at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) in d:\a\1\s\Rx.NET\Source\src\System.Reactive\Linq\Observable\Select.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__21`2.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Client\MessagingClient.cs:line 193 MyApp   C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\15.2.200-preview.12.4\tools\msbuild\iOS\Xamarin.Shared.targets  455 
kristinx0211 commented 2 years ago

Not reproducible with vs 32223.341.main. can be connect to mac from windows.