[Interest] macdeployqt codesign verification error

Jonas Kvinge jonaski at opensuse.org
Tue Sep 26 16:25:50 CEST 2023


Hi,

macdeployqt fails codesign verification:

ERROR: codesign verification error:
ERROR: "strawberry.app: code has no resources but signature indicates 
they must be present\nIn subcomponent: 
/Users/jonas/Projects/strawberry/build/strawberry.app/Contents/Frameworks/QtGui.framework\n"

Same thing happens when running codsign verification manually after 
macdeployqt is finished:

jonas at ni214 build % codesign --deep -v strawberry.app
strawberry.app: code has no resources but signature indicates they must 
be present
In subcomponent: 
/Users/jonas/Projects/strawberry/build/strawberry.app/Contents/Frameworks/QtGui.framework

The file structure looks like this:

jonas at ni214 build % find strawberry.app/Contents/Frameworks/QtGui.framework
strawberry.app/Contents/Frameworks/QtGui.framework
strawberry.app/Contents/Frameworks/QtGui.framework/Resources
strawberry.app/Contents/Frameworks/QtGui.framework/Versions
strawberry.app/Contents/Frameworks/QtGui.framework/Versions/A
strawberry.app/Contents/Frameworks/QtGui.framework/Versions/A/Resources
strawberry.app/Contents/Frameworks/QtGui.framework/Versions/A/Resources/Info.plist
strawberry.app/Contents/Frameworks/QtGui.framework/Versions/A/QtGui
strawberry.app/Contents/Frameworks/QtGui.framework/Versions/Current
strawberry.app/Contents/Frameworks/QtGui.framework/QtGui


This is Qt 6.5.2 built from source on macOS Ventura.

Looks like codesign verificantion fails on all Qt modules, it's just 
random which one it fails on first.

Is this a bug in macdeployqt?

Jonas




More information about the Interest mailing list