apple Disk iMaGe – a popular format for distributing OS X applications.
Questions tagged [dmg]
272 questions
2
votes
2 answers
File location of compiled iPhone app?
I'm writing an iPhone app in simulator/debug mode at the moment. I'd like to know, after I build it, where does the binary go? I want to send this file to my friend to show him what I'm doing so far.
Also, how do I package apps into .dmg files? That…

alamodey
- 14,320
- 24
- 86
- 112
2
votes
2 answers
Inspect contents of a basic, unencrypted UDIF DMG file
If I mount the DMG file using system calls to hdiutil and my application quits unexpectedly, the DMG remains mounted but because I mount it privately with -nobrowse, it doesn't show up in Finder. Is there a way to mount it using some framework or…

dreamlax
- 93,976
- 29
- 161
- 209
2
votes
0 answers
Notarise an DMG containing a application and plist file
I have a DMG that contains an Installer Application and a plist file which contains some preferences for installation. I have a use-case wherein i will need 50 to 60 different dmg with different preferences. Now as per catalina specification i will…

Vivek Vyas
- 33
- 5
2
votes
1 answer
`electron-builder` failed with code signing error in mac
I have a simple build script to build/package theelectron application. The electron-builder fails with the stack trace given below.
/Users/vkiranmaniya/Projects/Electron/GSTPro/node_modules/app-builder-lib/templates/entitlements.mac.plist…

Kiran Maniya
- 8,453
- 9
- 58
- 81
2
votes
1 answer
Correct way to codesign Qt-application .app and dmg on MacOS?
I have a cross-platform application written in Qt (5.9.6), running on Win, Mac and Ubuntu.
On mac, an application is built using Qt tools only (without Xcode).
The application has a 3rd-party library ffpmeg. We do not compile it, we use a prebuilt…

Alexey Matal
- 86
- 7
2
votes
1 answer
How can I silently install a MacOS .app from a dmg, using a single command?
I'm writing an auto update facility for my cross platform application. The updater portion downloads the installer file and executes a shell command to install it. On MacOS our "installer" takes the form of .dmg file. I need to be able to silently…

Tim Angus
- 983
- 11
- 26
2
votes
1 answer
Unable to create dmg executable for Mac OS with .NET Core 2.1
I'm learning how to deploy .NET Core applications to multiple platforms, and I am unable to produce a .dmg executable for the Mac OS.
This is my development environment:
Windows 10 Professional 64 bit
Visual Studio 2017 Professional with latest…

Raj Narayanan
- 2,443
- 4
- 24
- 43
2
votes
1 answer
Creating a dmg using Cake-build
I am developing a cross-platform app in Visual Studio. I need to get the installer as .exe for MS-Windows and also provide an application or installer inside a .dmg file for MacOSX.
I am asked to use Cake-build to create Windows installer & a .dmg. …

Anoop Vaidya
- 46,283
- 15
- 111
- 140
2
votes
1 answer
My code-signed DMG is rejected by GateKeeper
I am trying to distribute an application (itself code-signed) inside a code-signed DMG volume, signed by a self-signed code certificate (generated using the Keychain Certificate Assistant).
I’m on macOS Mojave and I am creating the DMG using the…

Konrad Rudolph
- 530,221
- 131
- 937
- 1,214
2
votes
1 answer
Why are .pkg files sometimes wrapped within a .dmg file before distribution?
Many software have a single .pkg (installation package) inside .dmg (disk image), I want to know that why this practice is used.
What is the need to have a mountable disk image of a software (i.e a .dmg), even after binding everything in a…

Ankita Shrivastava
- 75
- 8
2
votes
1 answer
Creating a mac app which calls a shell script, but developing in ubuntu
I have a shell script, and a tarball. The shell script unpacks the tarball, and makes use of the files inside of for performing a task. I need to make this accessible on mac laptops, but in such a way that there is either a .app or .dmg file that…

ffConundrums
- 765
- 9
- 24
2
votes
1 answer
What is the purpose of the path at the top of the window of a mounted .dmg file, and how can I remove it?
I recently created a .dmg for my application using macdeployqt. The application works fine on other Macs, but I noticed that the original location of the built .app is at the top of the window after double clicking on the .dmg:
This is visible even…

Mitch
- 23,716
- 9
- 83
- 122
2
votes
1 answer
Can I copy folder into dmg file using some python (or Java) API?
I need to update a .dmg (a.k.a. Apple disk image) file by adding a folder to it (it's an OSGI application and I want to add a few more bundles) but I would prefer a platform independent solution. My main code is written in Python but I am also…

jonalv
- 5,706
- 9
- 45
- 64
2
votes
3 answers
Building .dmg package requires Apple Developer ID
I am trying to build a .dmg package for my JavaFX application using Eclipse and e(fx)clipse, but it gives me the following error:
Did not find a key matching 'Developer ID Application: '
BUILD FAILED
/Users/xxx/git/xxx/xxx/build/build.xml:203:…

Jonatan Stenbacka
- 1,824
- 2
- 23
- 48
2
votes
2 answers
JavaFX Application Bundle Version Number
I’m creating an installable bundle for a JavaFX 8 application using the Oracle tool that comes with the JDK. On a Mac a .dmg file is created and on Linux a .deb file is used. I call an Ant script from Gradle to create the bundle. The problem that…

Adam
- 682
- 1
- 6
- 27