Application code signing failed with the error "code object is not signed at all"

7.4k Views Asked by At

I developed a osx app based in Qt5.1, and tried to publish it on mac app store, I have succeeded to sign frameworks and plug-ins, but faild to sign the whole application bundle,the error infomation is "code object is not signed at all"

2

There are 2 best solutions below

0
On BEST ANSWER

I have worked it out.here is the solution:

first thing you should notice is you have to copy the info.plist files of Qt Frameworks into your bundle, here is the details.

then,if you sign the frameworks like this page told you, you will get the same error as mine when you sign the whole bundle, which means you cann't sign frameworks with codesign -s "3rd Party Mac Developer Application: Developer Name" MyApp.app/Contents/Frameworks/QtCore.framework you should add some options to the command like thiscodesign --verbose --force --sign "3rd Party Mac Developer Application: Developer Name" MyApp.app/Contents/Frameworks/QtCore.framework I don't know why, but it did work.

2
On

Try adding the --deep flag to "Other Code Signing Flags" in the code signing section of the build settings.