Error when attempting to connect to a Mac
I am getting and error when attempting to connect to my Mac to build my Maui App. The UI says Error: 'I' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
The log files show the error details below. I have cleared all the caches, removed and re-added the Mac, restarted both devices and updated to the latest VS. I have also installed Xcode 16 and verified that the Simulator runs from there.
Does anyone have any ideas what might be causing this issue?
Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to DisconnectedState on MacBook Pro (3) (192.X8.X.XX): 02/01/2025 03:55:56Z
DateTime=2025-02-01T03:55:56.5291350Z: 02/01/2025 03:55:56Z
``` at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
at System.Text.Json.JsonDocument.ParseUnrented(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, JsonTokenType tokenType)
at System.Text.Json.JsonDocument.ParseValue(ReadOnlyMemory`1 json, JsonDocumentOptions options)
at System.Text.Json.Nodes.JsonNode.Parse(String json, Nullable`1 nodeOptions, JsonDocumentOptions documentOptions)
at Xamarin.VisualStudio.IOS.MeXamarin.Messaging.Integration.State.ServerStateContext Error: 0 : 'I' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
System.Text.Json.JsonReaderException: 'I' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
ssaging.RemoteSimulatorValidator.<ValidateAsync>d__11.MoveNext() in D:\a\_work\1\s\src\Core\VisualStudio.IOS\Messaging\Validators\RemoteSimulatorValidator.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Xamarin.Messaging.Integration.State.ValidatingState.<ExecuteValidatorsAsync>d__14.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Integration\State\ValidatingState.cs:line 77: 02/01/2025 03:55:56Z