summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Gelvin <patrick@gelvin.dev>2023-01-12 15:00:07 -0700
committerPatrick Gelvin <patrick@gelvin.dev>2023-01-12 15:00:07 -0700
commit8495224d13aa3c514595e6e090b5116c4fd40540 (patch)
tree6c6d2606632376f339a1c6338444ef2aa3d37b24
parent886f7f8290738775db3a64f59d0a613465af64db (diff)
Require Apple Team ID when using notarytool
Adds a requirement that the Team ID is specified when notarizing with the new notarytool. Fixes #70307
-rw-r--r--platform/macos/export/export_plugin.cpp4
1 files changed, 4 insertions, 0 deletions
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 Ref<Editor
}
}
}
+ if (notary_tool == 2 && p_preset->get("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";