How to archive and publish in Visual Studio Mac and MAUI

SSB 111 Reputation points
2024-07-12T08:17:42.0233333+00:00

Hi,

I have a MAUI app that i am migrating from Xamarin. Am using Visual Studio Mac for this for now until I can find a suitable replacement.

I am ready to release to app store and google play, previously I would do Build > Archive for Publishing and then Sign and Distribute. This does not seem to be available for MAUI.

How can i archive, publish, sign and distribute to App Store and Google Play for MAUI apps on MacOS?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,877 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,221 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,301 Reputation points Microsoft Vendor
    2024-07-12T09:55:08.57+00:00

    Hello,

    The publishing iOS app feature is available with VS for Mac, please see Publish a .NET MAUI iOS app for App Store distribution - .NET MAUI | Microsoft Learn

    (You can also use VS on Windows machine and pair to Mac)

    For Android, please use VS(Windows) directly, and see Publish a .NET MAUI Android app for Google Play distribution - .NET MAUI | Microsoft Learn

    VS for Mac will no longer be supported or maintained after August 31, 2024, and you can see the explain and alternative in the following - Visual Studio for Mac Retirement Announcement - Visual Studio Blog (microsoft.com)


    Update

    I don't have access to Windows. How can I do this from a Mac Only? What is the replacement for Visual Studio for Mac?

    Using Visual Studio Code. Please see Alternative options for developing on the Mac.

    Also, you could publish the app using the command line, see

    Publish an Android app using the command line - .NET MAUI | Microsoft Learn

    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.