App Store Connect Notary Service Agreements Error

I'm signing my macOS application with a Developer ID Application Certificate and sending it to Apple's notary service. When I'm uploading the build from XCode I'm getting the following error:

Failed retrieving request UUID for upload. You may have outstanding agreements to sign on App Store Connect.

I've checked the following URLs and I don't have any new prompts for new agreements:

https://developer.apple.com/account/ https://appstoreconnect.apple.com/ https://appstoreconnect.apple.com/agreements/#/

Is this a bug from Xcode/App Store Connect or does the message refer to other agreements that must be signed?

Are you a member of multiple teams?

Share and Enjoy

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

Yes, I am a member of several teams.

I just started getting the same error in Xcode and I'm NOT a member of multiple teams. I also don't have any outstanding agreements to be signed.

If it helps, altool is giving me this error when trying to notarize a .pkg (the same workflow was working two days ago):


java.io.IOException: Server returned HTTP response code: 504 for URL: https://contentdelivery.itunes.apple.com/transporter/lib/osgibootstrapper.jar
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
	at java.base/java.net.URL.openStream(Unknown Source)
	at com.apple.transporter.launcher.Application.start(Application.java:340)
	at com.apple.transporter.launcher.Application.main(Application.java:947)
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.apple.transporter.launcher.Application.start(Application.java:450)
	at com.apple.transporter.launcher.Application.main(Application.java:947)
Caused by: org.osgi.framework.BundleException: Could not resolve module: com.apple.transporter.starter [17]
  Unresolved requirement: Import-Package: javax.annotation; version="[3.0.0,4.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: com.apple.transporter.launcher.asu; version="[1.0.0,2.0.0)"
	at org.eclipse.osgi.container.Module.start(Module.java:463)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:440)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:459)
	at com.apple.transporter.bootstrap.BootstrapperPhase2.bootstrapBundles(BootstrapperPhase2.java:321)
	at com.apple.transporter.bootstrap.BootstrapperPhase2.start(BootstrapperPhase2.java:153)
	at com.apple.transporter.bootstrap.BootstrapperPhase1.startOSGiFramework(BootstrapperPhase1.java:319)
	at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:99)
	at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:59)
	at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37)
	... 6 more

 Out:

*** Error: Notarization failed for '<EDITED>.pkg'.
*** Error: An error occurred uploading to Apple Services. (-10000)

marcob24 wrote:

Yes, I am a member of several teams.

In that case, please check for agreements in all of your teams.


adriangm20 wrote:

I just started getting the same error in Xcode and I'm NOT a member of multiple teams.

OK. In that case I recommend that you run a test notarisation using notarytool. It seems like your altool setup is having problems and, seeing as altool has been deprecated for the purposes of notarisation, it’d be good to start with a basic notarytool test.

For more background on the switch to notarytool, watch WWDC 2021 Session 10261 Faster and simpler notarization for Mac apps.

In that case, Share and Enjoy

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

Thank you. I’ll give notarytool a try.

Any suggestions on how to resolve the Xcode issue? I have no pending agreements, all agreements are signed and there’s only one team.

In that case, please check for agreements in all of your teams.

Unfortunately that's not really an option for me. I am a member of more than 10 teams, and I don't have the contact information of all the account holders to accept all agreements.

Is there any other way this can be solved from XCode?

Well, today both Xcode and altool are working again. No changes on my side.

For me the process still fails every time. I've tried this several times since I started the thread without any change.

Same here: just want to use the notary service from within Xcode... my team has accepted all agreements. I am a member of two other teams where I CANNOT accept the agreements (+they are usually very slow accepting them).

How can I get my update notarized that has nothing whatsoever to do with the other teams?

Unfortunately the Xcode organiser is still using the same back-end infrastructure as altool, not the new infrastructure used by notarytool. That means that problems that affect altool also affect Xcode.

If this issue prevents you from notarising with Xcode, try notarising using notarytool. To get started:

  1. Use the Xcode organiser to export your app using the Distribute App > Developer ID > Export workflow.

  2. Zip that up, using the ditto command from Customizing the Notarization Workflow.

  3. Upload that using the instructions in the rest of that doc.

One nice thing about this approach is that you can use it as a first step in fully automating your packaging and notarisation workflow. For my advice on the commands to use for this, see Packaging Mac Software for Distribution.

For more background on notarytool, see WWDC 2021 Session 10261 Faster and simpler notarization for Mac apps.

Share and Enjoy

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

App Store Connect Notary Service Agreements Error
 
 
Q