I have found some ways to do it,but many ways is very convoluted,now I will told you the easiest way to make it. app
- First,you need to select tool to help you. ide
Because I don't want to install the other software to help me to do this,Mac OS X has provided a tool for it, named "Disk Utility".You can find it in the "Application->Utilities->Disk Utility". this
But also there some the other software,such as "DMG Canvas" etc.You can follow your mind. blog
- Second, start make it. it
Open Disk Utility,and click the "New Image",and fill a name for "Save as" .dmg and Disk Image,click "Create". io
- Third,open the dmg file you made just now. cli
Drag the files (of course it can be a app export from XCode) you want into the Disk Image,if you want to use application shortcut for your app,you need to make a alias for "Application" folder,then drag the application folder's alias into Disk Image.(for the application's alias,a few blogs talk about it.it maybe useful.) file
- Forth,open the "Disk Utility" again. select
Select the Disk Image you make just now and click the "Convert" on the top bar,and fill a convert name.then it is okay. im
The others:
You can make a background image for the Disk Image.There are many ways to do it,and it is easy.
Thanks,
Blues