Xcode 12.4 is incompatible with the version of xamarin.ios being used

Manali 1 Reputation point
2021-07-01T10:31:59.443+00:00

I have Visual Studio 2019 for Mac (8.10.3) , Xamarin.ios version as 14.2 and Xcode 12.4 on my mac machine. I am trying to setup a code but its giving error.Xcode 12.4 is currently selected in Preferences and is incompatible with the version of xamarin.ios being used. Its asking to install Xcode 12.5.
I cannot install Xcode 12.5 as it will require to update MAC OS version to 11 also. We cannot update MAC OS version.
Please suggest how to resolve this issue.

Developer technologies .NET Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kyle Wang 5,531 Reputation points Microsoft External Staff
    2021-07-02T03:11:05.827+00:00

    Hi Manali-1671,

    Welcome to our Microsoft Q&A platform!

    According to Xamarin.iOS 14.14 Release Notes, we can know that Xamarin.iOS 14.14 supports for Xcode 12.4.

    So a workaround is to update the Xamarin.iOS to make it compatible with Xcode 12.4.

    First, you need to uninstall the current Xamarin.iOS in your mac. You can use the script provided in this document.

    rm -rf ~/Library/MonoTouch  
    sudo rm -rf /Library/Frameworks/Xamarin.iOS.framework  
    sudo rm -rf /Developer/MonoTouch  
    sudo pkgutil --forget com.xamarin.monotouch.pkg  
    sudo pkgutil --forget com.xamarin.xamarin-ios-build-host.pkg  
    sudo pkgutil --forget com.xamarin.xamarin.ios.pkg  
    

    Then go to Xamarin Version, select Xamarin.iOS on the left and download Xamarin.iOS (Mac) 14.14

    Here is a similar thread found here: https://developercommunity.visualstudio.com/t/xcode-1131-is-currently-selected-in-preferences-an/973716

    Regards,
    Kyle


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.