Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xcrun atltool notarization suddenly failing

Application notarization suddenly started failing this morning (has been functional for a year).

app-specific-password and primary apple passwords were not changed.

Did something change with notarization requirements? Or are the apple servers in a temporary bad state at the moment?


Notarization is done with the following xcrun cmd:

xcrun altool --notarize-app --primary-bundle-id <bundle> --username <username> --password <password> --file <filepath>


Returns error:

2023-02-17 09:02:29.639 *** Error: Failed to get transporter defaults file 'https://contentdelivery.itunes.apple.com/transporter/Defaults.properties': Error Domain=NSCocoaErrorDomain Code=256 "The file “Defaults.properties” couldn’t be opened." UserInfo={NSURL=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSUnderlyingError=0x6000023a82d0 {Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x6000023a6490 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSErrorFailingURLKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSErrorFailingURLKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}}}
2023-02-17 09:02:30.067 *** Error: Notarization failed for '<bundle>'.
2023-02-17 09:02:30.067 *** Error: Unable to upload your app for notarization. Failed to get authorization for username '<username>' and password. (
  "Error Domain=NSCocoaErrorDomain Code=0 \"Status code: 0\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}"
) (-1011)
 {
  NSLocalizedDescription = "Unable to upload your app for notarization.";
  NSLocalizedFailureReason = "Failed to get authorization for username '<username>' and password. (\n  \"Error Domain=NSCocoaErrorDomain Code=0 \\\"Status code: 0\\\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}\"\n)";
}

Posted on Feb 17, 2023 9:30 AM

Reply
Question marked as Best reply

Posted on Feb 17, 2023 12:17 PM

Per: System Status - Apple Developer



Similar questions

1 reply

xcrun atltool notarization suddenly failing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.