From b5683aa36aa164ec88fc13b05b6e8b11889fc5cb Mon Sep 17 00:00:00 2001 From: Gronod Date: Sat, 12 Sep 2026 09:14:54 +0100 Subject: [PATCH] fix(m9): link ICCeryCore statically so the app launches standalone (#117) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the app and test bundles share the local ICCeryCore package, Xcode builds it as a dynamic package-product framework that is not embedded in ICCery.app — the app crashes in dyld at launch when run outside the test host (macOS 12 VM crash, run 31985 products). Declare the product .static so each consumer links it directly. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- Packages/ICCeryCore/Package.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Packages/ICCeryCore/Package.swift b/Packages/ICCeryCore/Package.swift index 5fde803..6bb5b81 100644 --- a/Packages/ICCeryCore/Package.swift +++ b/Packages/ICCeryCore/Package.swift @@ -5,7 +5,10 @@ let package = Package( name: "ICCeryCore", platforms: [.macOS(.v12)], products: [ - .library(name: "ICCeryCore", targets: ["ICCeryCore"]), + // Static so app + test bundles each link ICCeryCore directly — + // a dynamic package product framework is not embedded in the + // .app and dyld kills the app at launch on macOS 12 (#117). + .library(name: "ICCeryCore", type: .static, targets: ["ICCeryCore"]), ], targets: [ .target(name: "ICCeryCore"), -- 2.39.5