I found these tips on my official website:
First, upload your macOS app to Apple to be notarized. If the upload fails, view the upload logs to find the problem. For example, you must enable hardened runtime (macOS) before you upload the app. Otherwise, check the notarization status and when the status is “Ready for distribution”, export the app for distribution.
So I downloaded Xcode.
but I can't find my macOS application In the Archives organizer.
What should I do?
If you’re not building with Xcode, you don’t need to use Xcode for notarisation. Rather, you can notarise from the command line as per Customizing the Notarization Workflow.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"