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?
Generate a new Team API Key, set "Developer" permission on it, and use that for notarization.
This error happens when provided API Key is unauthenticated. This kind of error is handled incorrectly in Notary API REST (a plain text response is produced instead of JSON).
The problem is compounded by the undocumented fact, that Personal API Keys are not eligible for Notary API and one has to use a Team API Key with "Developer" permission for notarization.