How to use notarytool to code sign
xcrun notarytool store-credentials --apple-id "appleidemail" --team-id "asc-provider"
xcrun notarytool store-credentials --apple-id "[email protected]" --team-id "377KTRNNCY"
NTProductions
aaaa-bbbb-cccc-dddd
Validating your credentials...
Success. Credentials validated.
Credentials saved to Keychain.
xcrun notarytool submit <pathToFile> --keychain-profile "profilename" --wait
xcrun notarytool submit /Users/fromage/Documents/myPlugin/Products/@rpath/My\ WiPlugin.zip --keychain-profile "NTProductions" --wait
Upload progress: 100.00% (22.4 KB of 22.4 KB)
Successfully uploaded file
Waiting for processing to complete.
Current status: In Progress...
Processing complete
id: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
status: Accepted
xcrun stapler staple <pathToFile>