We have a macOS application.
We have implemented a bash script to notarize the installer package (.pkg) of our Mac app. Sometimes it works successfully.
But, intermittently it fails while checking the status of notarization.
Please find below the commands used in bash script:
Command:
xcrun altool --notarize-app --primary-bundle-id --username --password <App_Specific_Password> --file <PKG_File_Path>
Output:
No errors uploading <PKG_File_Path>.
RequestUUID = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Command:
xcrun altool --notarization-info -u -p <App_Specific_Password>
Error:
2021-06-10 12:33:48.300 altool[2163:13708] *** Error: Failed to get notarization info. 2021-06-10 12:33:48.300 altool[2163:13708] *** Error: code 1519 (Apple Services operation failed. Could not find the RequestUUID.)
Though correct RequestUUID is passed to the command, it fails with above mentioned error.