Once inside of Xcode, follow either Apple’s
documentation on notarizing macOS Applications, or
on distributing an application through the App Store.
You should also read through the
macOS-specific support
section below to understand how entitlements,
the App Sandbox, and the Hardened Runtime
impact your distributable application.

Build and release a macOS app provides a more detailed
step-by-step walkthrough of releasing a Flutter app to the
App Store.

Entitlements and the App Sandbox

macOS builds are configured by default to be signed,
and sandboxed with App Sandbox.
This means that if you want to confer specific
capabilities or services on your macOS app,
such as the following:

Accessing the internet

Capturing movies and images from the built-in camera

Accessing files

Then you must set up specific entitlements in Xcode.
The following section tells you how to do this.