wordeck-native/project.yml
Till JS edc60056ea icon: Icon-Composer-App-Icon + macOS-Build grün
- AppIcon.icon (Icon Composer, blaues W) als App-Icon integriert.
  In project.yml als Target-Source mit type:file → XcodeGen erkennt
  .icon nativ als wrapper.icon. Alter forest-grüner Platzhalter
  (AppIcon.appiconset) entfernt. actool baut Icon für iOS + macOS.
- macOS-Build repariert (war pre-existing rot seit β-3/β-5/β-6):
  iOS-only SwiftUI-Modifier mit #if os(iOS) gegated
  (textInputAutocapitalization, keyboardType, navigationBarDrawer,
  tabViewBottomAccessory, .buttonStyle(.glass)); .topBarTrailing →
  cross-platform .primaryAction; .bottomBar-Toolbar gekapselt;
  iOS-only Extensions mit platformFilter:iOS an den embed-Deps.
- Verifiziert: iOS-Sim + macOS BUILD SUCCEEDED.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 17:52:12 +02:00

230 lines
7.2 KiB
YAML

name: WordeckNative
options:
bundleIdPrefix: ev.mana
createIntermediateGroups: true
xcodeVersion: "16.0"
deploymentTarget:
iOS: "18.0"
macOS: "15.0"
developmentLanguage: de
groupSortPosition: top
generateEmptyDirectories: true
packages:
ManaSwiftCore:
path: ../mana-swift-core
ManaSwiftEventSync:
path: ../mana-swift-event-sync
ManaSwiftUI:
path: ../mana-swift-ui
settings:
base:
SWIFT_VERSION: "6.0"
SWIFT_STRICT_CONCURRENCY: complete
CURRENT_PROJECT_VERSION: "1"
MARKETING_VERSION: "1.0.0"
GENERATE_INFOPLIST_FILE: "NO"
ENABLE_USER_SCRIPT_SANDBOXING: "YES"
DEAD_CODE_STRIPPING: "YES"
CLANG_ENABLE_MODULES: "YES"
# mana e.V. Apple-Developer-Team-ID. Muss matchen mit dem AASA-
# Eintrag auf https://wordeck.com/.well-known/apple-app-site-association
# (siehe cards/infrastructure/docker-compose.production.yml).
DEVELOPMENT_TEAM: QP3GLU8PH3
targets:
WordeckNative:
type: application
supportedDestinations: [iOS, macOS]
dependencies:
- package: ManaSwiftCore
product: ManaCore
- package: ManaSwiftCore
product: ManaTokens
- package: ManaSwiftEventSync
product: ManaEventSync
- package: ManaSwiftUI
product: ManaAuthUI
# Beide Extensions sind iOS-only (supportedDestinations: [iOS]).
# platformFilter verhindert, dass der macOS-Build versucht, die
# iOS-.appex einzubetten („embedded content built for iOS" Fehler).
- target: WordeckWidgetExtension
embed: true
platformFilter: iOS
- target: WordeckShareExtension
embed: true
platformFilter: iOS
sources:
- path: Sources/App
- path: Sources/Features
- path: Sources/Core
# Icon Composer App-Icon (Xcode 26). Als einzelne Datei referenziert,
# damit XcodeGen nicht in das .icon-Bundle hineinrekursiert.
- path: AppIcon.icon
type: file
- path: Sources/Resources
excludes:
- "Info.plist"
- "WordeckNative.entitlements"
info:
path: Sources/Resources/Info.plist
properties:
CFBundleShortVersionString: "1.0.0"
CFBundleVersion: "1"
CFBundleDevelopmentRegion: de
CFBundleDisplayName: Wordeck
LSApplicationCategoryType: "public.app-category.education"
UILaunchScreen: {}
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
CFBundleURLTypes:
- CFBundleURLName: ev.mana.wordeck
CFBundleURLSchemes:
- cards
NSUserActivityTypes:
- NSUserActivityTypeBrowsingWeb
ITSAppUsesNonExemptEncryption: false
entitlements:
path: Sources/Resources/WordeckNative.entitlements
properties:
com.apple.security.app-sandbox: true
com.apple.security.network.client: true
com.apple.security.files.user-selected.read-write: true
keychain-access-groups:
- $(AppIdentifierPrefix)ev.mana.session
com.apple.developer.associated-domains:
- applinks:wordeck.com
com.apple.security.application-groups:
- group.ev.mana.wordeck
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ev.mana.wordeck
CODE_SIGN_STYLE: Automatic
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
ENABLE_PREVIEWS: "YES"
WordeckShareExtension:
type: app-extension
supportedDestinations: [iOS]
sources:
- path: ShareExtension
excludes:
- "Resources/Info.plist"
- "Resources/WordeckShareExtension.entitlements"
- path: Sources/Core/Sync/PendingShareStore.swift
info:
path: ShareExtension/Resources/Info.plist
properties:
ITSAppUsesNonExemptEncryption: false
CFBundleDisplayName: Als Karte speichern
CFBundleShortVersionString: "1.0.0"
CFBundleVersion: "1"
NSExtension:
NSExtensionPointIdentifier: com.apple.share-services
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).ShareViewController
NSExtensionAttributes:
NSExtensionActivationRule:
NSExtensionActivationSupportsText: true
NSExtensionActivationSupportsWebURLWithMaxCount: 1
entitlements:
path: ShareExtension/Resources/WordeckShareExtension.entitlements
properties:
keychain-access-groups:
- $(AppIdentifierPrefix)ev.mana.session
com.apple.security.application-groups:
- group.ev.mana.wordeck
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ev.mana.wordeck.share
CODE_SIGN_STYLE: Automatic
SKIP_INSTALL: "YES"
WordeckWidgetExtension:
type: app-extension
supportedDestinations: [iOS]
sources:
- path: Widgets/WordeckWidget
excludes:
- "Resources/Info.plist"
- "Resources/WordeckWidgetExtension.entitlements"
- path: Sources/Core/Sync/WidgetSnapshot.swift
info:
path: Widgets/WordeckWidget/Resources/Info.plist
properties:
ITSAppUsesNonExemptEncryption: false
CFBundleDisplayName: Wordeck Widget
CFBundleShortVersionString: "1.0.0"
CFBundleVersion: "1"
NSExtension:
NSExtensionPointIdentifier: com.apple.widgetkit-extension
entitlements:
path: Widgets/WordeckWidget/Resources/WordeckWidgetExtension.entitlements
properties:
keychain-access-groups:
- $(AppIdentifierPrefix)ev.mana.session
com.apple.security.application-groups:
- group.ev.mana.wordeck
dependencies:
- sdk: WidgetKit.framework
- sdk: SwiftUI.framework
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ev.mana.wordeck.widget
CODE_SIGN_STYLE: Automatic
SKIP_INSTALL: "YES"
INFOPLIST_KEY_CFBundleDisplayName: Wordeck Widget
WordeckNativeTests:
type: bundle.unit-test
supportedDestinations: [iOS, macOS]
sources:
- Tests/UnitTests
dependencies:
- target: WordeckNative
- package: ManaSwiftEventSync
product: ManaEventSync
- package: ManaSwiftCore
product: ManaCore
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ev.mana.wordeck.tests
GENERATE_INFOPLIST_FILE: "YES"
WordeckNativeUITests:
type: bundle.ui-testing
supportedDestinations: [iOS, macOS]
sources:
- Tests/UITests
dependencies:
- target: WordeckNative
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ev.mana.wordeck.uitests
GENERATE_INFOPLIST_FILE: "YES"
schemes:
WordeckNative:
build:
targets:
WordeckNative: all
WordeckNativeTests: [test]
WordeckNativeUITests: [test]
test:
targets:
- WordeckNativeTests
- WordeckNativeUITests
gatherCoverageData: false
run:
config: Debug
archive:
config: Release