From da30aae8e96a65539705998d6e4e9db4d6f5d5c9 Mon Sep 17 00:00:00 2001 From: flemming-it Date: Wed, 17 Jun 2026 22:46:31 +0200 Subject: [PATCH] fix(macos): skip Developer-ID codesign in release build (ad-hoc after) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release build aborted at the Xcode CodeSign step (no Developer-ID identity), leaving an incomplete .app missing Contents/Frameworks — which DYLD-crashed at launch ('Library not loaded: FlutterMacOS.framework'). Set CODE_SIGNING_ALLOWED = NO so the bundle is produced complete; the release pipeline ad-hoc signs it afterward. Notarization is a later step. Signed-off-by: flemming-it --- macos/Runner/Configs/Release.xcconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/macos/Runner/Configs/Release.xcconfig b/macos/Runner/Configs/Release.xcconfig index dff4f49..9c52c31 100644 --- a/macos/Runner/Configs/Release.xcconfig +++ b/macos/Runner/Configs/Release.xcconfig @@ -1,2 +1,7 @@ #include "../../Flutter/Flutter-Release.xcconfig" #include "Warnings.xcconfig" + +// Build without a Developer-ID identity: skip Xcode codesign so the +// bundle (incl. embedded Frameworks) is produced complete; we ad-hoc +// sign it afterward for local launch. Notarization is a later step. +CODE_SIGNING_ALLOWED = NO