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@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@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


_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to