locked
version confusion (MacOS, Xcode) RRS feed

  • Question

  • User393244 posted

    I bought a 2015 Macbook Pro to target iOS for a mobile app I'm developing with Visual Studio 2010 and Xamarin.Forms on Windows 10. I recall reading somewhere that there were stability issues with Xamarin.Forms and the latest Catalina MacOS and the recommendation was to use Mojave on the Mac (but can't find that link at the moment).

    So digging around it looked to me like Mojave 10.14.6 (which is what this Mac updated to on its own) with Xcode 11.3.1 (the last one to support Mojave, according to https://en.wikipedia.org/wiki/Xcode) and Visual Studio for Mac v8.5.5 would work.

    I attempted to pair to the Mac from the Windows machine in Visual Studio. It went through its process and then eventually displayed the following warning.

    "The Xcode version installed on the Mac (11.3) is not compatible with this version of Visual Studio. This may cause unexpected warnings or errors when building and deploying iOS projects. Please install Xcode '11.4' or visit the documentation to learn more."

    From that wikipedia link, Xcode 11.4 would also require a move to Catalina, but I thought there were problems with Catalina? Should I just move the Mac to the latest OS and latest Xcode or would I expect issues there as well?

    Friday, May 8, 2020 11:10 PM

Answers

  • User369979 posted

    I noticed that you used Visual Studio for Mac 8.5.5. It has added support for XCode 11.4 https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2019-mac-relnotes#--visual-studio-2019-for-mac-version-851-85142 So the Mac should install the XCode 11.4 to make the compiler work.

    I recall reading somewhere that there were stability issues with Xamarin.Forms and the latest Catalina MacOS I didn't find this kind of issue. And Catalina has been announced for a long time. We really recommend you to update it. You also mentioned that you want to pair your Windows to Mac, however, visual studio 2010 is a very old development tool. The latest Xamarin iOS requires Visual Studio 2019: https://docs.microsoft.com/en-us/xamarin/ios/release-notes/13/13.16 Please be aware that the Xamarin iOS installed on the Windows must be consistent with the version on Mac.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, May 11, 2020 6:26 AM

All replies

  • User42420 posted

    https://forums.xamarin.com/discussion/comment/411246#Comment_411246

    Saturday, May 9, 2020 2:48 AM
  • User393244 posted

    @SaraswatiChandra said: https://forums.xamarin.com/discussion/comment/411246#Comment411246

    Thanks for the reply. I'm targeting iOS, Android, and UWP from Visual Studio on Windows 10. I'm using the Mac just so I can target iOS. I see what you're saying, just do it on the Mac, but my understanding was that the workflow as designed to support developing on Windows. I will keep that in mind though.

    Saturday, May 9, 2020 11:11 AM
  • User42420 posted

    @nerdotron said:

    @SaraswatiChandra said: https://forums.xamarin.com/discussion/comment/411246#Comment411246

    Thanks for the reply. I'm targeting iOS, Android, and UWP from Visual Studio on Windows 10. I'm using the Mac just so I can target iOS. I see what you're saying, just do it on the Mac, but my understanding was that the workflow as designed to support developing on Windows. I will keep that in mind though.

    Got it, if you are targeting UWP too, Make sure Windows PC and MAC is on same LAN.. You will be able to connect to Mac and proceed.

    Saturday, May 9, 2020 1:54 PM
  • User369979 posted

    I noticed that you used Visual Studio for Mac 8.5.5. It has added support for XCode 11.4 https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2019-mac-relnotes#--visual-studio-2019-for-mac-version-851-85142 So the Mac should install the XCode 11.4 to make the compiler work.

    I recall reading somewhere that there were stability issues with Xamarin.Forms and the latest Catalina MacOS I didn't find this kind of issue. And Catalina has been announced for a long time. We really recommend you to update it. You also mentioned that you want to pair your Windows to Mac, however, visual studio 2010 is a very old development tool. The latest Xamarin iOS requires Visual Studio 2019: https://docs.microsoft.com/en-us/xamarin/ios/release-notes/13/13.16 Please be aware that the Xamarin iOS installed on the Windows must be consistent with the version on Mac.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Monday, May 11, 2020 6:26 AM
  • User393244 posted

    @LandLu said: I noticed that you used Visual Studio for Mac 8.5.5. It has added support for XCode 11.4 https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2019-mac-relnotes#--visual-studio-2019-for-mac-version-851-85142 So the Mac should install the XCode 11.4 to make the compiler work.

    I recall reading somewhere that there were stability issues with Xamarin.Forms and the latest Catalina MacOS I didn't find this kind of issue. And Catalina has been announced for a long time. We really recommend you to update it. You also mentioned that you want to pair your Windows to Mac, however, visual studio 2010 is a very old development tool. The latest Xamarin iOS requires Visual Studio 2019: https://docs.microsoft.com/en-us/xamarin/ios/release-notes/13/13.16 Please be aware that the Xamarin iOS installed on the Windows must be consistent with the version on Mac.

    Thanks! Sorry for the confusion, I meant to say I was using Visual Studio 2019, looks like a typo and it appears this site does not allow you to edit your post after a period of time. I will go ahead with the latest versions, sounds like that should work fine now.

    Monday, May 11, 2020 1:18 PM
  • User369979 posted

    Yes, you could have a try with the latest version tools. Feel free to ask here if you have other concerns.

    Tuesday, May 12, 2020 8:56 AM
  • User393244 posted

    @LandLu said: I noticed that you used Visual Studio for Mac 8.5.5. It has added support for XCode 11.4 https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2019-mac-relnotes#--visual-studio-2019-for-mac-version-851-85142 So the Mac should install the XCode 11.4 to make the compiler work.

    I recall reading somewhere that there were stability issues with Xamarin.Forms and the latest Catalina MacOS I didn't find this kind of issue. And Catalina has been announced for a long time. We really recommend you to update it. You also mentioned that you want to pair your Windows to Mac, however, visual studio 2010 is a very old development tool. The latest Xamarin iOS requires Visual Studio 2019: https://docs.microsoft.com/en-us/xamarin/ios/release-notes/13/13.16 Please be aware that the Xamarin iOS installed on the Windows must be consistent with the version on Mac.

    Thanks! Sorry for the confusion, I meant to say I was using Visual Studio 2019, looks like a typo and it appears this site does not allow you to edit your post. I will go ahead with the latest versions, sounds like that should work fine now.

    Tuesday, May 12, 2020 12:11 PM
  • User393244 posted

    One additional note, I was using Xcode 11.4.1, but when discussing an issue I had with MS support, they noted that the officially supported version is Xcode 11.4 (https://docs.microsoft.com/en-us/xamarin/ios/release-notes/). They said a minor rev shouldn't hurt anything, but I was getting some deployment errors intermittently and so switched back to Xcode 11.4 and its working fine now. So, I'm using the following now with success.

    macOS 10.15.4 Catalina Xcode 11.4 Visual Studio for Mac 8.5.5

    Tuesday, May 12, 2020 7:34 PM