From cb25ba94fe147fb185f444b34d3ba6174a93d736 Mon Sep 17 00:00:00 2001 From: rzen Date: Sat, 8 Aug 2026 20:18:55 -0400 Subject: [PATCH] =?UTF-8?q?The=20product=20takes=20back=20its=20name=20?= =?UTF-8?q?=E2=80=94=20Lanework.app=20returns=20as=20the=20built=20bundle,?= =?UTF-8?q?=20the=20module=20keeps=20the=20Kanban=20codename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PRODUCT_NAME: Lanework and PRODUCT_MODULE_NAME: Kanban were the old repo's arrangement and fell out in the git excision, leaving Debug builds to register themselves with Launch Services as Kanban.app. KanbanTests points TEST_HOST at the real product, since XcodeGen derives it from the target name and would miss. Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy --- project.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/project.yml b/project.yml index 2621852..a63565a 100644 --- a/project.yml +++ b/project.yml @@ -86,6 +86,10 @@ targets: # The identifier 1.x shipped under, unchanged: 2.0 updates that App Store record rather # than opening a second one (12-editions.md ▸ Distribution, ruled 2026-07-30). PRODUCT_BUNDLE_IDENTIFIER: dev.rzen.indie.Kanban + # Product is Lanework.app (user-facing — Finder, Open With, Dock); the Swift module keeps + # the Kanban codename so `@testable import Kanban` and internal refs are stable. + PRODUCT_NAME: Lanework + PRODUCT_MODULE_NAME: Kanban MARKETING_VERSION: "2.0" INFOPLIST_FILE: Kanban/Info.plist # `Kanban/Kanban.entitlements` — sandbox, user-selected files, app-scope bookmarks, and @@ -205,6 +209,10 @@ targets: PRODUCT_BUNDLE_IDENTIFIER: dev.rzen.indie.KanbanTests GENERATE_INFOPLIST_FILE: true SWIFT_STRICT_CONCURRENCY: complete + # The host target is named Kanban (codename) but its product is Lanework.app + # (PRODUCT_NAME), so XcodeGen's target-name-derived TEST_HOST would miss. + TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Lanework.app/Contents/MacOS/Lanework" + BUNDLE_LOADER: "$(TEST_HOST)" # MARK: - UI tests #