This version of Microsoft.MacCatalyst requires the MacCatalyst 18.2 SDK (shipped with Xcode 16.2).

Dani_S 4,036 Reputation points
2025-01-23T13:19:51.0566667+00:00

Hi,

I upgrade my app to.net 9 according to:MAUI Upgrade from NET 8 to NET 9

and got this error"

This version of Microsoft.MacCatalyst requires the MacCatalyst 18.2 SDK (shipped with Xcode 16.2). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs).

I tried to removed my xcode and install new one and get the same xcode version 15.4

how is can be solved ?

i have macos sonoma 14.4.1

Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,877 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,031 Reputation points Microsoft Vendor
    2025-01-24T02:21:16.58+00:00

    Hello,

    Xcode 16.2 requires a Mac running macOS Sonoma 14.5 or later. See the release note from Apple- Xcode 16.2 Release Notes | Apple Developer Documentation

    Please update your MacOS, see How to upgrade to macOS Sequoia - Apple Support

    After that, you could download Xcode16.2 from AppStore.

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.