Flutter: prepare macOS app for distribution

Опубликовано: 05 Октябрь 2024
на канале: mix coder
1,061
31

To distribute macOS apps, you need to notarize your app.

I explain how to prepare Flutter Mac apps for distribution.

1. change flutter to master channel
2. enable macos desktop support.
3. create flutter project
4. enable hardened binary.
5. adding plugins and show bug.
6. upload app to Apple's notarization service.
7. export app for distribution.

Flutter Desktop support is currently alpha as of May 2020.

There are some bug related to distributing Mac apps, and workaround the problem is presented.