Require Apple Team ID when using notarytool

Adds a requirement that the Team ID is specified when
notarizing with the new notarytool.

Fixes #70307
This commit is contained in:
Patrick Gelvin 2023-01-12 15:00:07 -07:00
parent 886f7f8290
commit 8495224d13

View file

@ -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";