Once you have your DMG file, you’ll need to compress it using the “dmgpack” tool.
To do this, you can use the “hdiutil” command line tool. This is basically a disk image that will contain your installer package. If you want to create a Mac installer package, there are a few things you need to know.