The product takes back its name — Lanework.app returns as the built bundle, the module keeps the Kanban codename
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
This commit is contained in:
@@ -86,6 +86,10 @@ targets:
|
|||||||
# The identifier 1.x shipped under, unchanged: 2.0 updates that App Store record rather
|
# 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).
|
# than opening a second one (12-editions.md ▸ Distribution, ruled 2026-07-30).
|
||||||
PRODUCT_BUNDLE_IDENTIFIER: dev.rzen.indie.Kanban
|
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"
|
MARKETING_VERSION: "2.0"
|
||||||
INFOPLIST_FILE: Kanban/Info.plist
|
INFOPLIST_FILE: Kanban/Info.plist
|
||||||
# `Kanban/Kanban.entitlements` — sandbox, user-selected files, app-scope bookmarks, and
|
# `Kanban/Kanban.entitlements` — sandbox, user-selected files, app-scope bookmarks, and
|
||||||
@@ -205,6 +209,10 @@ targets:
|
|||||||
PRODUCT_BUNDLE_IDENTIFIER: dev.rzen.indie.KanbanTests
|
PRODUCT_BUNDLE_IDENTIFIER: dev.rzen.indie.KanbanTests
|
||||||
GENERATE_INFOPLIST_FILE: true
|
GENERATE_INFOPLIST_FILE: true
|
||||||
SWIFT_STRICT_CONCURRENCY: complete
|
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
|
# MARK: - UI tests
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user