Search code examples
c#iosxcodexamarinvisual-studio-mac

C# MAUI - Pair to Mac failed with "No receiver was found for topic xvs/idb/initialize-dotnet-sdk"


Running C# MAUI for Android/Windows and it build and runs well.

Now, i want to build and run for iOS but get problems.

When installed Visual studio for Mac, XCode on a Mac and using Pair to Mac I get this error:

Error dotnet validation failed, an unexpected error occurred No receiver was found for topic xvs/idb/initialize-dotnet-sdk

enter image description here

Someone got this problem?

Some details about the setups I have:

My developer computer, Windows 10:

Microsoft Visual Studio Community 2022

Version 17.4.3

VisualStudio.17.Release/17.4.3+33205.214

Microsoft .NET Framework

Version 4.8.04084

...

VisualStudio.Mac 1.0

...

Xamarin 17.4.0.312 (d17-4@be7e8d1)

Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

...

Xamarin.iOS and Xamarin.Mac SDK 16.1.1.27 (933c6c2c9)

Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

My Mac, MacOS Monterey 12.6.2

Microsoft Visual Studio for Mac 17.4.2 (Build 17)

...

.NET 6.0.12 (64-bit)

Architecture: X64

...

Apple Developer Tools

Xcode 14.2 (21534)

Build 14C18

...

Xamarin.Mac

Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.

...

Xamarin.iOS

Xamarin.iOS not installed.

Can't find mtouch or the Version file at

/Library/Frameworks/Xamarin.iOS.framework/Versions/Current.


Solution

  • In my case Visual studio restart helped