Error: This version of Xamarin.Mac requires the macOS 10.14 sdk

MatthieuDMatthieuD ✭✭Member ✭✭
edited February 7 in Xamarin.Mac

Hello,

I have this error when trying to compile my project on Xamarin.Mac.
I have the latest OS version and the latest XCode.

Error MM0091: This version of Xamarin.Mac requires the macOS 10.14 SDK (shipped with Xcode 10.1). Either upgrade Xcode to get the required header files or use the dynamic registrar or set the managed linker behaviour to Link Platform or Link Framework SDKs Only (to try to avoid the new APIs). (MM0091)

I had it after unifying my project to the new API.
Apparently this is required to compile my project into 64bits.
So I know that in the error it is written: "to try to avoid the new APIs", but then how do I compile my project into 64bits?

Pre-API-unifying, I have marked all my projects to compile into 64bits and lost the 32bits warning at the compilation, but the MacOS still sees it as nonfit for a 64bits OS.

Maybe I am missing something in the 64bits compilation? Why, even though I compile it to 64b, the OS does not see it?

EDIT: forget that I can remove the 32b warning. I succeeded in removing it from the old dev environment, with an old mono and an old ide and an old OS. But in this new env even though I specify 64bit in all my projects it just does not want to compile in 64 bits...

Best Answer

Answers

  • ManojkumarMaliManojkumarMali ✭✭✭ USMember ✭✭✭

    Hi,
    Your Xamarin.Mac pkg version and your XCode version is miss-matched.
    Update your XCode to desired version.
    If you have already updated the version then check whether XCode is correctly configured with VS or not.
    OR please go through this link.

  • MatthieuDMatthieuD ✭✭ Member ✭✭

    @ManojkumarMali said:
    Hi,
    Your Xamarin.Mac pkg version and your XCode version is miss-matched.
    Update your XCode to desired version.
    If you have already updated the version then check whether XCode is correctly configured with VS or not.
    OR please go through this link.

    How do I know if xcode is properly configured with vs? I have the latest version on both and looked everywhere for an xcode mention on vs but couldn't find it. When I open a xib on vs it properly opens the xcode app.

    Also, the post in the link you gave does not seem to propose a solution, or did I miss something?

  • MatthieuDMatthieuD ✭✭ Member ✭✭

    I found the problem. Xcode was not at its last version (it was 9.4), even though the app store told me so. So I upgraded it (to 10.1) and now it works.

    I still have lots of issues on my project but this one is cleared. Thanks a lot for your answer :)

Sign In or Register to comment.