Error Pairing iOS Host

Jassim Al Rahma 1,526 Reputation points
2022-09-16T00:20:54.373+00:00

Hi,

I am getting below error when trying to pair iOS host:

Workload manifest dependency 'Microsoft.NET.Workload.Emscripten' version '6.0.4' is lower than version '6.0.9' required by manifest 'microsoft.net.workload.mono.toolchain' [/Users/jassim/Library/Caches/Xamarin/XMA/SDKs/dotnet/sdk-manifests/6.0.400/microsoft.net.workload.mono.toolchain/WorkloadManifest.json]

Kindlyhelp

Thanks,
Jassim

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,751 Reputation points Microsoft Vendor
    2022-09-16T07:55:48.29+00:00

    Hello @Jassim Al Rahma ,

    You could try to clear the Broker, IDB, Build, and Designer Agents on the Mac, then re-pair to mac. (Both MAUI and Xamarin cache are in this folder )

    In addition, you can refer to this workaround to edit the C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.workload.mono.toolchain\WorkloadManifest file

    {  
      "version": "6.0.4",  
      "depends-on": {  
        "Microsoft.NET.Workload.Emscripten": "6.0.4"  
      },............  
    .................  
    

    Update
    You can refer to the issue reported at GitHub- Pair to Mac failed with error "Workload manifest dependency 'Microsoft.NET.Workload.Emscripten' version '6.0.4' is lower..." #9800, it's closed because it's a problem with Visual Studio, and it has been fixed in version 17.4 Preview 2, you could try to install the latest version of Visual Studio 2022(preview) or refer to the workaround : copy the 6.0.9 Emscripten workload manifest you have installed on Windows to your Mac.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Дмитрий 1 Reputation point
    2022-09-20T16:32:34.82+00:00

    Hello. Try deleting the Xamarin folder on Mac OS at the path /Library/Caches. After that, follow the link .NET SDK and install on Windows .NET SDK 6.0.401. These actions helped me. When connected, it can still download various packages.

    0 comments No comments