Codesign and deploy on osx
-
I use
macdeployqt my.app
and my app is work.
but now I need codesign my app,
so I use
macdeployqt my.app -codesign=developerID
after codesign, use
codesign --display --verbose=4
to check, it's right.
but my app can not open.Qt version 5.5.1
MacOS 10.12.6
XCode version 9.2please help me fix it.
-
Hi and welcome to devnet,
The first thing you should do is to update Qt to a recent version. The current LTS is Qt 5.12.5 and the release is 5.13.1.
Also, what exact error do you get ?
What version of macOS are you targeting ? -
Click on the report button, it will show you the stack trace.
-
From the crash it seems that the signature is not valid. Are you sure you use the right one ?
-
@SGaist said in Codesign and deploy on osx:
From the crash it seems that the signature is not valid. Are you sure you use the right one ?
After I used "macdeployqt my.app -codesign=developerID", I did not get any error.
And I try to check By "codesign --display --verbose=4 my.app".
The result like this picture.
Forgive me, I am not sure it is safe if I show the developerID so I cover it.
in this picture message I think is right? -
Do you have several ID's configured ?
-
You can use the "Topic Tools" button for that.
In case, one answer is the exact answer you need, you can use the vertical three dots menu on the right of the post to mark it as such in place of using the Topic Tools button.