문제

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