commit dd60d823ff4db73595d41392df8804b41788ccee
parent 9605c52d304b53d294a45085ba5c6cc4a84bb261
Author: Simon Friedberger <simon@mozilla.com>
Date: Thu, 2 Oct 2025 13:49:00 +0000
Bug 1991770: Improve error message when ./mach macos-sign cannot determine the channel r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D266912
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tools/signing/macos/mach_commands.py b/tools/signing/macos/mach_commands.py
@@ -448,7 +448,12 @@ def auto_detect_channel(ctx, app):
logging.ERROR,
"macos-sign",
{"plist": info_plist},
- "Couldn't read bundle ID from {plist}",
+ (
+ "Couldn't read bundle ID from {plist} or bundle ID "
+ f"({bundleid}) not in [{NIGHTLY_BUNDLEID}, {DEVEDITION_BUNDLEID}"
+ f", {RELEASE_BUNDLEID}]. You can try to specify the channel"
+ " manually with -c $CHANNEL"
+ ),
)
sys.exit(1)