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
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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?