Hi all,
see subject – with Qt6.9.1 now I sign this way:
macdeployqt my.app -codesign="myAccount"
and then
codesign --options=runtime --entitlements ./deployment/entitlements.xml —force ./my.app -s "myAccount"
checking this via
codesign --verify --deep --strict --verbose=2 ./myApp.app
it says "valid on disc" - so all is fine.
However, now a new issue comes up: When I zip it and load it up to notarise it via:
xcrun notarytool submit myApp.zip --keychain-profile MYKEYCHAIN --wait
then it eventually fails with:
status: invalid
Thus, I went back to Qt6.5.3 and signed in the same way and also received the INVALID status at the very end.
Deploying and Signing via:
macdeployqt my.app
codesign --options=runtime --entitlements ./deployment/entitlements.xml —deep ./my.app -s "myAccount"
does work out and leads to valid status but unfortunately this does not work out wiqht Qt6.9.1 because it refuses to take the --deep statement.
Can anyone advise how to achieve VALID status with the above structure using Qt6.9 ?
Thanks and
best
Alex
Gesendet: Donnerstag, 18. September 2025 um 20:49
Von: "Alexander Carôt" <[email protected]>
Betreff: Aw: Re: [Interest] codesign issue with Qt6.9.1
Hello Kai,
>>Any reason you don’t use macdeployqt -codesign=“My dev account” ? This should do deep signing...
when I do this and I check the result via
codesign --verify --deep --strict --verbose=2 ./myApp.app
it looks fine:
./myApp.app: valid on disk
./myApp.app: satisfies its Designated Requirement
./myApp.app: satisfies its Designated Requirement
but indeed I need to include the entitlements:
--entitlements ./deployment/entitlements.xml
which seems to not work when combining it via macdeployqt or am I mistaken on this ?
Any further help appeciated,
thanks beforehand and
best
Alex
Gesendet: Donnerstag, 18. September 2025 um 17:44
Von: "Kai Köhne via Interest" <[email protected]>
Betreff: Re: [Interest] codesign issue with Qt6.9.1
Confidential
>On 17/09/2025 8:31 pm, Alexander Carôt via Interest wrote:_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
