My Mac app can't go on the Mac App Store. One of its tools reverses the mouse scroll wheel, and that needs an Accessibility event tap that the App Store sandbox doesn't allow.
So it ships the other way: a signed and notarized DMG from my own site, automatic updates through Sparkle, and a Homebrew cask. This is the whole pipeline, with the commands I run and the two things that cost me the most time.
1. Get a Developer ID certificate
You need a paid Apple Developer Program membership ($99 a year) to notarize. Without it, macOS shows every new user a warning and they have to go to System Settings β Privacy & Security β Open Anyway before the app will open. Most people won't.
This step took me a week. I live in Bangladesh, my Apple Account was set to the US region, and Bangladesh wasn't in Apple's region list. I emailed Developer Support and never got a reply. What worked was creating a new Apple Account and enrolling with that one.β¦