8 Replies
      Latest reply on Sep 17, 2019 5:16 AM by massimo225
      massimo225 Level 1 Level 1 (0 points)

        Hi,

         

        We have a Qt app and try to notarize it.

        We run a virtual machine in VMWare Fusion with macOS Mojave 10.14.6, and all tools for the task are up to date, and we do all the building, codesigning, notarization steps from there.

         

        The steps we follow:

         

        - generate the app bundle

        - codesign the app bundle with a Developer ID Application certificate

        - we check that the signature is fine:

         

        codesign --verify --deep --strict --verbose=2 signed.app
          -> it says valid on disk and satisfies its Designated Requirements

         

          spctl -a -t exec -vv signed.app/
             signed.app/: accepted
             source=Developer ID
             origin=Developer ID Application: .......

         

        - zip the app bundle

        - notarize the zip app bundle:

         

        xcrun altool --notarize-app -t osx -f signed.zip --primary-bundle-id "com.acme" -u "my-managed-apple-id" -p "whatever"
        --output-format xml

        and the result is the following:

         

        <?xml version="1.0" encoding="UTF-8"?>

        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

        <plist version="1.0">

        <dict>

            <key>os-version</key>

            <string>10.14.6</string>

            <key>product-errors</key>

            <array>

                <dict>

                    <key>code</key>

                    <integer>-20528</integer>

                    <key>message</key>

                    <string>Error Description not available</string>

                    <key>userInfo</key>

                    <dict>

                        <key>NSLocalizedDescription</key>

                        <string>Error Description not available</string>

                        <key>NSLocalizedFailureReason</key>

                        <string>Unable to validate your application.</string>

                    </dict>

                </dict>

            </array>

            <key>tool-path</key>

            <string>/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework</string>

            <key>tool-version</key>

            <string>1.1.1138</string>

        </dict>

        </plist>

         

        What does this error mean?

        What's wrong with the app bundle to get this error?

         

        Thanks in advance for any help,

        Massimo