Post

Replies

Boosts

Views

Activity

macdeployqt codesign verification error
I'm using macdeployqt with codesigning. At the end of deploying, 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
5
0
1.4k
Oct ’23
URL scheme in Info.plist
I use the following entry in Info.plist to make the program handle the "tidal" url scheme, but it launches the program without the URL itself. The entry is: keyCFBundleURLTypes/key array dict keyCFBundleTypeRole/key stringViewer/string keyCFBundleURLName/key stringorg.strawberrymusicplayer.strawberry/string keyCFBundleURLSchemes/key array stringtidal/string /array /dict /array Full Info.plist here: https://github.com/strawberrymusicplayer/strawberry/blob/master/dist/macos/Info.plist.in The URL looks like this: tidal://login/auth With the url parameters that contains the authorization code, the total length is 692 characters. It works fine on Linux and Windows, but not on macOS. I've tested both with Safari and Firefox. Is the URL perhaps too long?
1
0
11k
Apr ’21