I have added a notary profile named "NotaryProfile" with app password to keychain is it this by chance?
xcrun notarytool submit "com.Product.pkg" --keychain-profile "NotaryProfile" --wait
then wait until confirmation and staple?
xcrun stapler staple Product.pkg
Topic:
Code Signing
SubTopic:
Notarization
Tags: