Test the Mac Installer Package

Before you submit your macOS app to the App Store, test the installation process to verify that your app installs correctly. Do this by exporting your macOS app and selecting the App Store distribution method. Then run this test using the installer command before you upload your app to App Store Connect. The installer command verifies that your app will be installed correctly when it’s purchased from the App Store.

See alsoDistribute to registered computers (macOS)Export a macOS app