Skip to content
pubscout

dmg

0.1.10, released 7 months ago by lamnhan.dev

Create, sign, notarize, and staple macOS .DMG files with a single command.

$ flutter pub add dmg
Source repository

What it does

Automates the building, code signing, notarization, and stapling process for macOS .DMG application installers directly from the terminal or pubspec configuration.

AI-written summary of version 0.1.10, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to package and distribute macOS Flutter applications securely
  • You want to automate code signing, notarization, and DMG generation in CI or locally

Skip it when

  • You are targeting non-macOS platforms like Android, iOS, Windows, or Linux
  • You do not have an Apple Developer account and only need unsigned local builds

Strengths

  • Streamlines the entire macOS release workflow into one command
  • Supports custom settings, license files, and Flutter build flavors
  • Allows pubspec.yaml configuration for repeated builds

Weaknesses

  • Requires external tools like Python and dmgbuild installed on the machine
  • Limited strictly to macOS desktop packaging

Setup

Kind
Pure Dart
Effort
Medium
Code generation
No
Direct dependencies
3

Requires Python 3.x, dmgbuild installed via pip, Xcode, and a valid Apple Developer account configured with notarytool credentials for production builds.

dart run dmg

Alternatives

Packages that do the same job and could replace dmg.

Works with

Packages commonly used together with dmg: ones it builds on, ones built on it, and its own family.