Question

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"

Was it helpful?

Solution 2

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top