August 12, 2019
https://issues.dlang.org/show_bug.cgi?id=20124

          Issue ID: 20124
           Summary: macOS 10.15 requires notarized apps
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: doob@me.com

On the latest version of macOS, Catalina (10.15), currently in beta, it's required that all applications are notarized. This includes command line applications and installers. If an application is not notarized the application will not run and a dialog opens. It's possible to start the application anyway by going into System Preferences and launch the application. But it's a pretty poor user experience. This applies not to just DMD but all executables that are shipped with in the archive and the installer itself.

To notarized an application it needs to be signed with a Developer ID certificate and the application needs to adopt the Hardened runtime [1].

A Developer ID costs 99 USD per year. Nonprofit organizations may get the fee waived [2].

[1] https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution [2] https://developer.apple.com/support/membership-fee-waiver/

--