- Delete entitlements file entirely - Remove remote-notification background mode - Simplify ModelContainer to plain local store - Fix bundle ID prefix to de.felixfoertsch per convention iCloud sync can be added back once the container is set up in the Apple Developer Portal. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
191 B
Swift
13 lines
191 B
Swift
import SwiftData
|
|
import SwiftUI
|
|
|
|
@main
|
|
struct VoiceDiaryApp: App {
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
}
|
|
.modelContainer(for: [DiaryEntry.self, VoiceMemo.self])
|
|
}
|
|
}
|