[Interest] OSX codesign question
Hamish Moffatt
hamish at risingsoftware.com
Thu Apr 9 02:40:35 CEST 2020
On 9/4/20 1:15 am, "Alexander Carôt" wrote:
> So - I received the new certificate, installed it on my keychain tool
> and this is what happened again:
> soulalex at alexandarotsMBP SJC % codesign --deep --force --verify
> --verbose --timestamp --options runtime --sign "Developer ID
> Application: Alexander Carot (92C65YCLK8)" ./soundjack.app
> ./soundjack.app: signed app bundle with Mach-O thin (x86_64)
> [com.yourcompany.soundjack]
>
> soulalex at alexandarotsMBP SJC % codesign --verify --deep --strict
> --verbose=2 ./soundjack.app
> ./soundjack.app: valid on disk
> ./soundjack.app: satisfies its Designated Requirement
>
> soulalex at alexandarotsMBP SJC % ./soundjack.app/Contents/MacOS/soundjack
> dyld: Library not loaded:
> @rpath/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets
> Referenced from:
> /Users/soulalex/Desktop/wip/XP-shared/Soundjack/SJC/./soundjack.app/Contents/MacOS/soundjack
> Reason: no suitable image found. Did find:
> /Users/soulalex/Qt-5.14.2/5.14.2/clang_64/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets:
> code signature in
> (/Users/soulalex/Qt-5.14.2/5.14.2/clang_64/lib/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets)
> not valid for use in process using Library Validation: mapped file has
> no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
> zsh: abort ./soundjack.app/Contents/MacOS/soundjack
> soulalex at alexandarotsMBP SJC %
> Any idea left ?
Is the QtMultimediaWidgets.framework included in your bundle? Are you
using macdeployqt?
It looks like a signing error because it is trying your (unsigned) Qt
development install framework instead, while maybe the problem is that
the framework is just missing from your bundle and therefore didn't get
signed.
Hamish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200409/0accae1a/attachment.html>
More information about the Interest
mailing list