Files
Sprachmittler/project.yml
T
schihei 2cce12ff17 feat(app): family app icon, Release install and local dmg
Add a committed AppIcon asset catalog generated from scripts/generate-app-icon.swift, using the same indigo tile/grid/text-bar family as Vorleser and Schriftleser with a two-speech-bubble translation motif. Wire CFBundleIconName/ASSETCATALOG_COMPILER_APPICON_NAME and add make icon.

Change make install to use the Release build and the same signature checks as the DMG. Add make dmg/scripts/make-dmg.sh: stage the Release app with an Applications link, create and verify a local unnotarised DMG, mount it, and re-check the signature.

Verified: make verify green; make dmg produced dist/Sprachmittler-0.1.0-local.dmg with a valid signature; make install installed and launched /Applications/Sprachmittler.app.
2026-11-26 14:19:44 +01:00

72 lines
2.3 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
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
dependencies:
- package: SprachmittlerKit
product: SprachmittlerCore
- package: SprachmittlerKit
product: SprachmittlerCapture
schemes:
Sprachmittler:
build:
targets:
Sprachmittler: all
run:
config: Debug
archive:
config: Release