Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
4.7.0
Description
Edit: Here "uninstall" is maintenancetool, but renamed via CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_NAME.
I've build QtIFW from current master with a static Qt-6.2.4 on macOS (cf. QTIFW-3083). To facilitate notarization, I've added "option runtime" (cf. QTIFW-3084) to binarycreator. The package was accepted by Apple and could be installed. The packaged programs work as expected. However, the uninstaller "can not be run" (Finder message). Likely reason:
$ codesign --verify ~/xxx/uninstall.app /Users/franke/xxx/uninstall.app: invalid Info.plist (plist or signature have been modified)
I suspect that this is related to the addition of "option runtime" (QTIFW-3084) to enable notarization. The man page states on "option runtime":
On macOS versions >= 10.14.0, opts signed processes into a hardened runtime environment which includes runtime code signing enforcement, library validation, hard, kill, and debugging restrictions. These restrictions can be selectively relaxed via entitlements.
The "hard kill" is what I observe. Entitlements might help?
I am happy to test any suggestions or patches. Thanks!