From 85589f2627a0a89ad81bae247ce3e56193f97ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=27=C3=A9lectron=20rare?= <108685187+electron-rare@users.noreply.github.com> Date: Mon, 18 May 2026 22:16:39 +0200 Subject: [PATCH] fix(avlivebody): ad-hoc signing for local dev Apple Development cert + Automatic signing makes Xcode demand a Mac Development cert that no one has. Switch to manual ad-hoc (CODE_SIGN_IDENTITY = -) so any contributor can build. Drop hardened runtime; re-enable for distribution builds. --- avlivebody-mac/Config/Shared.xcconfig | 5 ++++- avlivebody-mac/project.yml | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/avlivebody-mac/Config/Shared.xcconfig b/avlivebody-mac/Config/Shared.xcconfig index e8e9025..055b7cf 100644 --- a/avlivebody-mac/Config/Shared.xcconfig +++ b/avlivebody-mac/Config/Shared.xcconfig @@ -2,4 +2,7 @@ MACOSX_DEPLOYMENT_TARGET = 15.0 SWIFT_VERSION = 5.10 -CODE_SIGN_STYLE = Automatic +// Manual ad-hoc signing for local dev (no Apple Mac Development cert +// required). Override here or via target settings for distribution. +CODE_SIGN_STYLE = Manual +CODE_SIGN_IDENTITY = - diff --git a/avlivebody-mac/project.yml b/avlivebody-mac/project.yml index eae1ea5..d734cb5 100644 --- a/avlivebody-mac/project.yml +++ b/avlivebody-mac/project.yml @@ -34,9 +34,12 @@ targets: PRODUCT_BUNDLE_IDENTIFIER: cc.saillant.AVLiveBody INFOPLIST_FILE: Sources/AVLiveBody/Info.plist GENERATE_INFOPLIST_FILE: NO - CODE_SIGN_STYLE: Automatic + CODE_SIGN_STYLE: Manual + CODE_SIGN_IDENTITY: "-" + CODE_SIGNING_REQUIRED: NO + CODE_SIGNING_ALLOWED: NO SWIFT_VERSION: "5.10" - ENABLE_HARDENED_RUNTIME: YES + ENABLE_HARDENED_RUNTIME: NO AVLiveBodyTests: type: bundle.unit-test platform: macOS