Forum Visual Studio

Windows and Mac on Stable Channel...but iOS mismatch??

IanVinkIanVink CAInsider, University ✭✭✭

I have both VS on my Mac build and Windows 10 machine set to the stable release. The Mac often though for iOS is out of sync, so I can't talk to it.

If I allow Windows VS to force the Mac to downgrade to it's version of iOS, then the Azure Build Agent on the Mac stops working.

The Xamarin.iOS SDK version '13.10.0.21' that is installed on the Mac is not compatible with this version of Visual Studio. Would you like us to install Xamarin.iOS '13.10.0.17' for you? This will overwrite any other existing Xamarin.iOS installation on your Mac.

Tagged:

Posts

  • Michael_ShapiroMichael_Shapiro USMember ✭✭✭

    The same issue here. Are we the only two people who notices that? :)

  • TimurUrazovTimurUrazov USMember

    It looks like on iMac couldn't be installed an earlier version of the Xamarin.

  • RezaMohamedRezaMohamed USMember ✭✭✭

    I have this same problem.

  • karim_eljedkarim_eljed Member ✭✭

    Me too

  • sjonessjones Member

    And us.

  • JonasRembrattJonasRembratt SEUniversity ✭✭✭

    Same here

  • Michael_ShapiroMichael_Shapiro USMember ✭✭✭

    What I do not understand is how it happened. I do not have any automatic installs/updates options enabled on PC or on Mac. How come, all of a sudden, one day everything worked absolutely fine, next day there is this mismatch between the PC and Mac versions of the Xamarin.iOS SDK ???

  • RezaMohamedRezaMohamed USMember ✭✭✭

    I haven't been able to find a resolution yet for myself, has anyone got it paired up?

  • Michael_ShapiroMichael_Shapiro USMember ✭✭✭

    I feel the only resolution at this point is to wait when the the Visual Studio 2019 v16.5 gets released (it is in preview now).

  • sjonessjones Member

    @Michael_Shapiro said:
    What I do not understand is how it happened. I do not have any automatic installs/updates options enabled on PC or on Mac. How come, all of a sudden, one day everything worked absolutely fine, next day there is this mismatch between the PC and Mac versions of the Xamarin.iOS SDK ???

    We regularly have the exact same thing.

    We are yet to find a solution other than to revert the mac back.

  • karim_eljedkarim_eljed Member ✭✭

    I have the feeling that the Xamarin stuff gets updated with Windows Update... I have encountered this a few times so far.

  • karim_eljedkarim_eljed Member ✭✭

    I just installed VS 2019 Preview. Now I get the message that it wants to Update the Mono version to 6.8.0.99. On my Mac is version 6.6.0.166 installed :neutral:

  • LuizVictorLuizVictor Member

    Well, the only solution i found so far was to reinstall the package xamarin.ios-13.10.0.17. pkg on my Mac. I hope the next version fixes the problem.

  • Michael_ShapiroMichael_Shapiro USMember ✭✭✭

    @karim_eljed said:
    I have the feeling that the Xamarin stuff gets updated with Windows Update... I have encountered this a few times so far.

    Very reasonable assumption, I think.

  • Michael_ShapiroMichael_Shapiro USMember ✭✭✭

    Guess what... it "mysteriously" works and topped complaining about the mismatched versions after I updated Windows VisualStudio to 16.4.6 this morning.

  • karim_eljedkarim_eljed Member ✭✭
    edited March 18

    Just installed 16.5.0 (I didn't update to 16.4.6) and got the same message as with the preview:

    The Mono version installed on Mac may not be compatible with this version of Visual Studio. Would you like us to install Mono '6.8.0.99' for you? This will overwrite any existing Mono installation on your Mac. :neutral:

  • karim_eljedkarim_eljed Member ✭✭
    edited March 18

    I knew what would happen after giving Mono 6.8.0.99 a try:

    The Xamarin.iOS SDK version '13.10.0.21' that is installed on the Mac is not compatible with this version of Visual Studio. Would you like us to install Xamarin.iOS '13.14.1.39' for you? This will overwrite any other existing Xamarin.iOS installation on your Mac.

    The good thing is that VS Windows complains about the mismatch but still connects to the mac. :smile:

    I just started VS Update on Mac again and there is now 6.6.0.166 available in the stable channel. It wasn't available this morning.

    In the preview channel there is Mono 6.8.0.121 and Xamarin.iOS SDK Version 13.14.1.39 available.

    Why doesn't Microsoft manage to keep stable and the preview releases in sync between Windows and Mac? :s

  • RezaMohamedRezaMohamed USMember ✭✭✭

    So I started to get the same error again. Weirdly, I found a workaround without installing anything.

    All I did was in the 'Pair to Mac' screen I would just hit cancel when it displays the error about the mismatch and wanting to install, it would appear again, and again I would hit cancel. And then on the third time, it would connect and everything is fine. This has happened couple of different times on different projects and it seems to work.

  • What was happening on our Mac was, that Visual Studio for Mac (with auto-updates turned on), was repeatedly trying to update to Mono to the new 6.8.0.99 and after the update it wanted to "update" to the older 6.6.X.Y again.
    So I turned off the automatic updates in VS for Mac, and now I don't get the warnings when starting VS for Windows.

  • RezaMohamedRezaMohamed USMember ✭✭✭

    I keep getting this issue, my workaround that seems to work is:
    1) in Visual Studio Mac, Disable the Automatic Update
    2) in the Mac, delete folder /Library/Frameworks/Xamarin.iOS.framework

    Now, when you connect from VS Win, it will try to update to the required version.

Sign In or Register to comment.