macOS アプリケーションのコード署名と公証 - Unity マニュアル
This section has information on code signing and notarization for your macOS application.