Migration to notarytool from altool

Hi,

I have a problem with replacing altool to notarytool to notarize my app for distribution outside AppStore. Earlier I used this code (-p passes App's password):

xcrun altool --notarize-app --primary-bundle-id "MyProductBundleID" -u "myname@gmail.com" -p "wxxx-xxxx-xxxx-xxxx" --file MyProduct.zip

I wrote a new script:

xcrun notarytool submit MyProduct.zip --keychain-profile "wxxx-xxxx-xxxx-xxxx" --wait

Error with unknown "--keychain-profile".

Replies

The --keychain-profile does not accept a password. Rather, it takes the name of a profile that you previously created with the store-credentials subcommand. The notarytool man page has the syntax for this and, in the Examples section, a concrete example of how to use it.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks, I'll try this.