diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp index bfebdc046..643689de7 100644 --- a/platform/osx/export/export.cpp +++ b/platform/osx/export/export.cpp @@ -817,7 +817,7 @@ Error EditorExportPlatformOSX::_code_sign(const Ref &p_prese String str; int exitcode = 0; - Error err = OS::get_singleton()->execute("codesign", args, true, NULL, &str, NULL, true); + Error err = OS::get_singleton()->execute("codesign", args, true, NULL, &str, &exitcode, true); if (err != OK) { add_message(EXPORT_MESSAGE_WARNING, TTR("Code Signing"), TTR("Could not start codesign executable, make sure Xcode command line tools are installed.")); return err;