I tried going through the entire notarization process using the script I have been using for ages and got to the part where I got the email to say that I can distribute the app. Did the stapling and there is when things went wrong.
Could not validate ticket for MyApp.dmg
The staple and validate action failed! Error 65.
Did all the test listed on https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution/resolving_common_notarization_issues?language=objc
and they came out clean with no issue. Even did the
xcrun altool --notarization-info
and everything seems clean with no reported issue.
Thinking it was something wrong on my end, I resubmitted the app which was successfully stapled yesterday and this time, the stapling failed as above.
Was there something changed or the notarization service is just whacky ?