Yes, you get the “developer cannot be verified” error if the code isn’t signed. Which is perfectly fine, I don’t see how this is anti-consumer.
It’s $99 for a code signing cert (per developer account) on macOS/iOS, which I believe is less than what they cost on Windows.