Files
voicediary/project.yml
Felix Förtsch b442c13719 fix CloudKit compatibility: default values, optional relationship, background mode
- Add default values to all SwiftData attributes (CloudKit requirement)
- Make memos relationship optional (CloudKit requirement)
- Add allMemos computed property for safe unwrapping
- Add remote-notification background mode for CloudKit push sync

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 23:11:40 +01:00

59 lines
2.0 KiB
YAML

name: VoiceDiary
options:
bundleIdPrefix: com.felixfoertsch
deploymentTarget:
iOS: "26.0"
xcodeVersion: "26.2"
createIntermediateGroups: true
defaultConfig: Release
groupSortPosition: top
indentWidth: 4
tabWidth: 4
usesTabs: true
settings:
base:
DEVELOPMENT_TEAM: NG5W75WE8U
MARKETING_VERSION: "2026.02.15"
CURRENT_PROJECT_VERSION: 1
SWIFT_VERSION: "6.0"
targets:
VoiceDiary:
type: application
platform: iOS
sources:
- VoiceDiary
settings:
base:
GENERATE_INFOPLIST_FILE: true
PRODUCT_BUNDLE_IDENTIFIER: com.felixfoertsch.VoiceDiary
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ENABLE_PREVIEWS: true
SWIFT_EMIT_LOC_STRINGS: true
INFOPLIST_KEY_UILaunchScreen_Generation: true
INFOPLIST_KEY_UISupportedInterfaceOrientations: UIInterfaceOrientationPortrait
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
INFOPLIST_KEY_NSMicrophoneUsageDescription: "Voice Diary needs microphone access to record your voice memos for diary entries."
INFOPLIST_KEY_NSSpeechRecognitionUsageDescription: "Voice Diary uses on-device speech recognition to transcribe your voice memos."
INFOPLIST_KEY_UIBackgroundModes: remote-notification
entitlements:
path: VoiceDiary/VoiceDiary.entitlements
properties:
com.apple.developer.icloud-container-identifiers:
- iCloud.com.felixfoertsch.VoiceDiary
com.apple.developer.icloud-services:
- CloudKit
com.apple.developer.ubiquity-kvstore-identifier: $(TeamIdentifierPrefix)com.felixfoertsch.VoiceDiary
VoiceDiaryTests:
type: bundle.unit-test
platform: iOS
sources:
- VoiceDiaryTests
dependencies:
- target: VoiceDiary
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.felixfoertsch.VoiceDiaryTests