With membership in the Apple developer program, Xcode can create any necessary signing certificates for you. You mentioned the Mac store, but you used the Notarization tag, and you need to understand that those are two separate alternatives. So your first decision is whether you will distribute your software on the Mac App Store or on some other web site. Start here: https://developer.apple.com/macos/distribution/
Topic:
Code Signing
SubTopic:
Notarization
Tags: