Two app targets from one source tree — no build flags, no #if in shared code: an edition difference is a file one target compiles and the other does not. Base keeps everything it had (dev.rzen.indie.Kanban, minimal entitlements, AppIcon); KanbanPro compiles the same sources plus the reserved KanbanPro/ root (Git/, Remote/, Auth/ land with pro-m1 — libgit2 deliberately not added yet), adds network-client and its keychain group, and hand-writes its Info.plist with the UTI block verbatim — base exports the type, Pro imports it, one format either app opens. The unit-test sources compile twice, once per host, with Pro's module aliased so 56 test files keep @testable import Kanban unchanged; scheme Kanban stays the muscle-memory command and LaneworkPro joins it. InertGitTests pins the base posture with bytes and mtimes — a full editing session over boards carrying realistic .git trees at root and nested in a card leaves all twelve entries untouched, and moves and copies carry them verbatim. scripts/verify-editions.sh proves the rest: 26 checks over signatures, symbols, entitlements, identity, and the shared UTI, discounting Xcode's test-host exceptions by name rather than silently. Claude-Session: https://claude.ai/code/session_01SR4XGjmBE16ZUYWpfFHXwY
108 lines
3.7 KiB
Plaintext
108 lines
3.7 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
<key>CFBundleDisplayName</key>
|
|
<string>Lanework Pro</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>$(EXECUTABLE_NAME)</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleName</key>
|
|
<string>Lanework Pro</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>$(MARKETING_VERSION)</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>1</string>
|
|
<key>LSMinimumSystemVersion</key>
|
|
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>© 2026 rzen</string>
|
|
<key>NSPrincipalClass</key>
|
|
<string>NSApplication</string>
|
|
<!-- The board format is one format, owned by 01-storage-format.md, with no edition-specific
|
|
keys (12-editions.md ▸ Distribution). Base **exports** `dev.rzen.indie.kanban-board`;
|
|
Pro **imports** the identical declaration verbatim — same identifier, same conformance,
|
|
same tag spec — so a board opens in either app and neither edition's copy can drift into
|
|
claiming a different format. The drag and clipboard payload types ride along for the same
|
|
reason: the two editions run the same drag code, so they must carry the same types. -->
|
|
<key>UTImportedTypeDeclarations</key>
|
|
<array>
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban-board</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>com.apple.package</string>
|
|
<string>public.directory</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Board</string>
|
|
<key>UTTypeTagSpecification</key>
|
|
<dict>
|
|
<key>public.filename-extension</key>
|
|
<string>kanban</string>
|
|
</dict>
|
|
</dict>
|
|
<!-- The drag session payload types (DRAG-REORDER.md; 04-interactions.md ▸ Drag and drop).
|
|
Same-app transfer is the only real consumer — both boards are open in this app — but a
|
|
system drag session is what crosses window boundaries, draws the copy badge and gives
|
|
the full-size replica, and a system session needs a declared type to carry. -->
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban.cards</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>public.data</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Cards</string>
|
|
</dict>
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban.lanes</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>public.data</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Lanes</string>
|
|
</dict>
|
|
<!-- The clipboard manifest (04-interactions.md ▸ Clipboard). Its own type rather than either
|
|
drag type above: a clipboard payload carries cards or lanes under one identifier, plus
|
|
the staging copyID and the fallback index.md text a drag has no use for. -->
|
|
<dict>
|
|
<key>UTTypeIdentifier</key>
|
|
<string>dev.rzen.indie.kanban.clipboard</string>
|
|
<key>UTTypeConformsTo</key>
|
|
<array>
|
|
<string>public.data</string>
|
|
</array>
|
|
<key>UTTypeDescription</key>
|
|
<string>Lanework Clipboard</string>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeName</key>
|
|
<string>Lanework Board</string>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Editor</string>
|
|
<key>LSItemContentTypes</key>
|
|
<array>
|
|
<string>dev.rzen.indie.kanban-board</string>
|
|
</array>
|
|
<key>LSTypeIsPackage</key>
|
|
<true/>
|
|
</dict>
|
|
</array>
|
|
</dict>
|
|
</plist>
|