Files
Sprachmittler/project.yml
T
schihei 7ca5c710ec feat(m0): complete scaffold, logging and signature checks (T0.2-T0.6)
Add os.Logger categories, OSSignposter wrapper and shortHash helper; enforce exact Debug/Release/install signatures; lint tests; update M0 docs and progress.
2026-11-26 12:33:51 +01:00

71 lines
2.2 KiB
YAML

# XcodeGen spec (ADR-006). Generate with `make generate`. Sprachmittler.xcodeproj is git-ignored — never edit it.
name: Sprachmittler
options:
bundleIdPrefix: de.schihei # placeholder — change to your own reverse-DNS prefix
deploymentTarget:
macOS: "14.0"
createIntermediateGroups: true
developmentLanguage: en
settings:
base:
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
ARCHS: arm64
ONLY_ACTIVE_ARCH: YES
MACOSX_DEPLOYMENT_TARGET: "14.0"
ENABLE_HARDENED_RUNTIME: YES
MARKETING_VERSION: "0.1.0"
CURRENT_PROJECT_VERSION: "1"
configs:
Release:
SWIFT_TREAT_WARNINGS_AS_ERRORS: YES
GCC_TREAT_WARNINGS_AS_ERRORS: YES
# Debug keeps Xcode's injected get-task-allow for the debugger; Release carries only the
# explicit app-sandbox=false entitlement (SECURITY_PRIVACY, T0.2).
CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO
packages:
SprachmittlerKit:
path: Packages/SprachmittlerKit
targets:
Sprachmittler:
type: application
platform: macOS
sources:
- path: App
excludes:
- "**/README.md"
- "Info.plist"
- "Sprachmittler.entitlements"
# Do NOT use XcodeGen's `info:` / `entitlements:` keys: they regenerate (overwrite) the files.
# The hand-maintained files are referenced via INFOPLIST_FILE / CODE_SIGN_ENTITLEMENTS below.
settings:
base:
PRODUCT_NAME: Sprachmittler
PRODUCT_BUNDLE_IDENTIFIER: de.schihei.sprachmittler # placeholder
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: App/Info.plist
CODE_SIGN_ENTITLEMENTS: App/Sprachmittler.entitlements
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "-" # "Sign to Run Locally" for development
ENABLE_APP_SANDBOX: NO # ADR-003: Accessibility insertion needs it off
COMBINE_HIDPI_IMAGES: YES
dependencies:
- package: SprachmittlerKit
product: SprachmittlerCore
- package: SprachmittlerKit
product: SprachmittlerCapture
schemes:
Sprachmittler:
build:
targets:
Sprachmittler: all
run:
config: Debug
archive:
config: Release