Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-3086

macOS, after notarization: uninstaller: invalid Info.plist (plist or signature have been modified)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 4.7.0
    • Tools
    • macOS

    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!

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            installerteam Installer Team
            dfranke Daniel Franke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes