Storing AppStoreConnect ApiKey to keychain failing

I am running Xcode 15.3. I have downloaded an app ApiKey that I am attempting to store in my keychain. I have an M3 Mac and running Sonoma 14.4.1.

From the command line I run xcrun notarytool store-credentials which prompts me to enter Profile name, Path to App Store Connect API private key, App Store Connect API Key ID, and App Store Connect API Issuer ID. I provide this info and only get the following:

Validating your credentials...

zsh: trace trap xcrun notarytool store-credentials

I am stuck here and need to resolve this. Any suggestions?

  • Run above command with --verbose option I get this:

    Validating your credentials... [16:39:00.503Z] Info [API] Initialized Notary API with base URL: https://appstoreconnect.apple.com/notary/v2/ [16:39:00.505Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/test?, Parameters: [:], Custom Headers: private<Dictionary<String, String>> [16:39:00.505Z] Debug [JWT] Generating new JWT for key ID: ... zsh: trace trap xcrun notarytool store-credentials --verbose

  • Validating your credentials...
    [16:39:00.503Z] Info [API] Initialized Notary API with base URL: https://appstoreconnect.apple.com/notary/v2/
    [16:39:00.505Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/test?, Parameters: [:], Custom Headers: private<Dictionary<String, String>>
    [16:39:00.505Z] Debug [JWT] Generating new JWT for key ID: ...
    zsh: trace trap  xcrun notarytool store-credentials --verbose
    
Add a Comment

Replies

Running above command w/ --verbose option gives:

Validating your credentials...

[16:48:55.556Z] Info [API] Initialized Notary API with base URL: https://appstoreconnect.apple.com/notary/v2/

[16:48:55.557Z] Info [API] Preparing GET request to URL: https://appstoreconnect.apple.com/notary/v2/test?, Parameters: [:], Custom Headers: private<Dictionary<String, String>>

[16:48:55.558Z] Debug [JWT] Generating new JWT for key ID: ...

zsh: trace trap xcrun notarytool store-credentials --verbose