From 8495224d13aa3c514595e6e090b5116c4fd40540 Mon Sep 17 00:00:00 2001 From: Patrick Gelvin Date: Thu, 12 Jan 2023 15:00:07 -0700 Subject: Require Apple Team ID when using notarytool Adds a requirement that the Team ID is specified when notarizing with the new notarytool. Fixes #70307 --- platform/macos/export/export_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp index 46485da783..311619f657 100644 --- a/platform/macos/export/export_plugin.cpp +++ b/platform/macos/export/export_plugin.cpp @@ -1937,6 +1937,10 @@ bool EditorExportPlatformMacOS::has_valid_project_configuration(const Refget("notarization/apple_team_id") == "") { + err += TTR("Notarization: Apple Team ID not specified.") + "\n"; + valid = false; + } } else if (notary_tool == 1) { if (p_preset->get("notarization/api_uuid") == "") { err += TTR("Notarization: App Store Connect issuer ID name not specified.") + "\n"; -- cgit v1.2.3