Same on Xcode 15.3 with a non-Jenkins custom system also running xcodebuild -exportArchive, to upload to TestFlight. The failure does NOT occur if Xcode Preferences > Accounts has recently been opened on the Mac running xcodebuild (because this loads the same developer account). We are using an App Store Connect API key for this authentication. The same key is always successful when used by notarytool.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: