In this recipe, we will create a disk image file for distributing your application. Although some developers distribute their applications as a compressed zip file, a disk image is a more professional way to package your application and support files.
Although there is not much needed to create a disk image, you will need a release build of your application and any supporting files such as a readme, and so on.
1. Start the
DiskUtility.app
located in theUtilities
folder inside theApplications
folder.2. Choose New Image from the toolbar.
3. Enter a file name and choose a location for your disk image.
4. Next, enter a Name for the new image.
5. Set Size to 100 MB. You can select a larger size if your application requires more than 100 MB
6. Set Format to Mac OS Extended (Journaled).
7. Set Encryption to none.
8. Choose Single partition - Apple Partition Map for the Partitions popup.
9. Choose read/write disk image for the Image...