Answer the question
In order to leave comments, you need to log in
How to properly sign .app and dmg for macOS?
Hello!
There is a cross-platform application written in Qt (5.9.6), works on Win, Mac and Ubuntu.
On mac, the application is built using Qt tools (no XCode).
The application has a 3d-party ffpmeg library (we do not compile it ourselves, we take a ready-made assembly https://ffmpeg.org/download.html#build-mac)
At the initial stage, the application is supposed to be distributed through the dmg image, later - through the AppStore.
dmg image is built with hdutil (not with macdelpoyqt).
We are trying to sign the .app file and dmg image with certificates from the Apple Developer Program, in particular:
codesign -s 9509FE0B2EBCC89D9047541AC762418395FCB40E Application.app
Application.app/: code object is not signed at all
codesign -s 9509FE0B2EBCC89D9047541AC762418395FCB40E Application.app/Contents/Frameworks/libavcodec.58.dylib
# ffmpeg code at all otherwise
-
notsign code at all 9509FE0B2EBCC89D9047541AC762418395FCB40E Application.app/Contents/Frameworks/QtCore.framework
# Qt signing too
...
codesign -s 9509FE0B2EBCC89D9047541AC762418395FCB40E Application.app
Ok.
Answer the question
In order to leave comments, you need to log in
And what is output if you run the program through the console, directly inside the .app binary?
Probably worth trying to pack in pkg. And show what types of certificates are still offered.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question