Flutter: prepare macOS app for distribution

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

Launching lib\main.dart on vivo 1917 in debug mode...

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 0.1s
Exception: Gradle task assembleDebug failed with exit code 1



- Hi Sir, thanks for this tutorial. I am using vs code but when I type "flutter run" to run this app, it gives an error. Please sujjest me how can I fixed this problem.

opensourceprojects
Автор

예전에 천구한테 리눅스 설치하고 데스크탑 구성하는거 배웠던 생각이 드네.. 그때 이미 남다른 재능에 놀랐던 기억이... ㅎㅎ

조인혁만세