How to sign macOS app in Terminal

Archive ► Distribute App ► Direct Distribution ► (wait until successful) ► Export Notarized App

Check:

xcrun stapler validate TimeCamp.app
spctl -a -vv TimeCamp.app

PS. I also would like to prepare instructions for the command-line, but don't have time, above should work.