Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2818

github mac notorization: altool has been deprecated for notarization. Use notarytool to notarize

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.2
    • Component/s: Configuration

      Description

      2023-01-30 05:10:18.996 *** Warning: altool has been deprecated for notarization and starting in late 2023 will no longer be supported by the Apple notary service. You should start using notarytool to notarize your software. (-1030)
      Traceback (most recent call last):
       File "/Users/runner/work/nuxeo-drive/nuxeo-drive/tools/osx/notarize.py", line 197, in <module>
       sys.exit(main(*sys.argv[1:]))
       File "/Users/runner/work/nuxeo-drive/nuxeo-drive/tools/osx/notarize.py", line 180, in main
       uuid = ask_for_notarization_uid(file)
       File "/Users/runner/work/nuxeo-drive/nuxeo-drive/tools/osx/notarize.py", line 50, in ask_for_notarization_uid
       output = call(cmd)
       File "/Users/runner/work/nuxeo-drive/nuxeo-drive/tools/osx/notarize.py", line 159, in call
       raise subprocess.CalledProcessError(exitcode, cmd)
      subprocess.CalledProcessError: Command '['xcrun', 'altool', '--notarize-app', '--primary-bundle-id', 'org.nuxeo.drive', '--username', '***', '--password', '***', '--file', 'dist/nuxeo-drive-5.3.1.7.dmg']' returned non-zero exit status 1.

       

       

      Ref: https://developer.apple.com/forums/thread/709364

       

       

      Apple Developer <developer@email.apple.com> DT: 14th June 2023

      [EXTERNAL] Action required: Transition to the notarytool command-line utility.

      We’re reaching out because you recently used the altool command-line utility to notarize your macOS software with Apple. As announced last year at WWDC22 [developer.apple.com], if you’re still using altool with the Apple notary service, you should transition to the notarytool command-line utility as soon as possible. Notarizing software with altool was deprecated in Xcode 13, and the Apple notary service will no longer accept uploads from altool as of November 1, 2023. Existing notarized software will continue to function properly.

      For information on notarizing your apps, read TechNote TN3147: Migrating to the latest notarization tool [developer.apple.com].

      If you have any questions, contact us [developer.apple.com].

      Apple Developer Relation

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: