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

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.

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top