I am using the xcrun notarytool submit --apple-id xxxxx@gmail.com --password xxxxx--team-id xxxxxx --output-format json --wait --no-progress /my/dmg/file
to notarize my DMG file. But it always gives me back the error,
Error: HTTP status code: 403. A required agreement is missing or has expired. This request requires an in-effect agreement that has not been signed or has expired. Ensure your team has signed the necessary legal agreements and that they are not expired.
I did log in my developer account and found no place to sign any agreement. Actually in the morning when I logged in the developer account, it indeed pop up the agreement for me to sign and I did sign it. But now it seems I don't have any more agreements to sign. So, any ideas about what I should do?
Thanks for your post.
When you encounter a 403 error indicating that a required agreement is missing or has expired during the notarization process with , it can sometimes be a bit misleading or confusing as to exactly which agreement needs attention. You said on your post you already agreed to one.
I would suggest to go to appleid.apple.com and sign in with your Apple ID. Sometimes, agreements related to the Apple Developer Program are separate from those shown in Xcode. Additionally, visit developer.apple.com, sign in, and check for any pending legal agreements that might need signing. Look through recent emails from Apple, especially those from or , for any requests to review or agree to new terms.
In Xcode, go to , sign out of your Apple ID, and then sign back in. Also, consider signing out of your Apple ID on your Mac via (or ) and signing back in. Ensure you're using the latest version of Xcode and that all command line tools are updated. Run to ensure you have the latest tools. After completing the above steps, try running your notarization command again. If you are part of multiple teams, ensure you are using the correct team ID and that your app distribution provisioning profile is active.
Is the notary tool process now functioning correctly?
Albert Pascual Worldwide Developer Relations.