Skip to content

Add Nightly build configuration for side-by-side testing#5

Merged
alexmodrono merged 1 commit intomainfrom
worktree-nightly-build-config
Mar 17, 2026
Merged

Add Nightly build configuration for side-by-side testing#5
alexmodrono merged 1 commit intomainfrom
worktree-nightly-build-config

Conversation

@alexmodrono
Copy link
Copy Markdown
Owner

@alexmodrono alexmodrono commented Mar 17, 2026

Summary

  • Rename Staging config/scheme to Nightly (Foodle-Nightly scheme, release build type with hardened runtime)
  • Add per-config build settings (FOODLE_BUNDLE_PREFIX, APP_GROUP_IDENTIFIER) so Nightly uses es.amodrono.foodle.nightly as its base identity — fully isolated bundle ID, app group, keychain service, File Provider domains, Spotlight index, and custom action identifiers
  • Centralize all variant-dependent identifiers in BundleIdentifiers.swift (derived from Bundle.main.bundleIdentifier at runtime), replacing ~30 hardcoded strings across the codebase
  • Entitlements and File Provider Info.plist now reference build settings instead of literals

Test plan

  • Foodle scheme (Debug) builds successfully as "Findle" with es.amodrono.foodle
  • Foodle-Nightly scheme builds successfully as "Findle Nightly" with es.amodrono.foodle.nightly
  • Nightly File Provider uses group.es.amodrono.foodle.nightly document group and .nightly.action.* identifiers
  • All unit tests pass
  • Both apps can run side-by-side without shared state interference

Rename Staging config to Nightly and add per-config build settings so
the Foodle-Nightly scheme produces "Findle Nightly" with a fully
isolated identity (bundle ID, app group, keychain, File Provider
domains, Spotlight index, custom actions).  This lets the nightly
build run alongside the Homebrew release without interference.

Centralize all variant-dependent identifiers in BundleIdentifiers,
derived at runtime from Bundle.main.bundleIdentifier, replacing ~30
hardcoded strings across the codebase.  Entitlements and Info.plist
now reference build settings instead of literals.
@alexmodrono alexmodrono merged commit 3b2dccf into main Mar 17, 2026
@alexmodrono alexmodrono deleted the worktree-nightly-build-config branch March 17, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant