Some additional information from my setup:
altool is from Xcode 12 as well. I do not authenticate with the notary using an api key.
It ended up succeeding after 4 tries - and then it failed again on the 5th and succeeded in the 6th. So - it seems to be random when it occurs.
Most of the times, it failed to find metadata.xml - but one of the times it failed to find the zip file I was notarizing.
It doesn’t appear to be a network issue - as (in the log) it looks like it succeeded:
Code Block [2021-04-12 21:07:45 MDT] <main> INFO: Package upload progress: 100.00% completed |
[2021-04-12 21:07:45 MDT] <main> INFO: File: metadata.xml 541/541, 100.00% completed |
[2021-04-12 21:07:45 MDT] <main> INFO: File: binaries-macOS.zip 25085345/25085345, 100.00% completed |
[2021-04-12 21:07:45 MDT] <main> INFO: Waiting on reservation commit(s) to finish. |
[2021-04-12 21:07:45 MDT] <pool-9-thread-1> INFO: All reservation commit(s) finished. |
Later in this same log is where it claims it cannot find binaries-macOS.zip (the file I was trying to notarize):
Code Block [2021-04-12 21:07:46 MDT] <main> DBG-X: Apple's web service operation return value: |
[2021-04-12 21:07:46 MDT] <main> DBG-X: parameter Errors = [Unable to find requested file(s): binaries-macOS.zip (1057)] |
There is a possibility this might be device-related - I have two build servers, and two of the six failures happened on one of the servers, and the two successes happened on the other server. Unfortunately, I don’t have logs from the first two failures to see which build server they were on. I rebuilt the build server that failed twice - but haven’t had a chance to try submitting again using it. This also might be a red herring - since it appears the files were fully sent to the notarization service...so I can’t imagine how it would be device-related.