fix(macos): skip Developer-ID codesign in release build (ad-hoc after)
Some checks failed
Security / Security check (push) Failing after 1s

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 <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-17 22:46:31 +02:00
parent 891acd2ba2
commit da30aae8e9

View file

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