Swift Data is a data modeling framework from Apple for use in apps running on their operating systems, including iOS, macOS, and others. It's closely related to Core Data but is used in different, more Swift-friendly ways.
Questions tagged [swift-data]
92 questions
-1
votes
1 answer
Thread 1: Fatal error: expected attribute to be Codable
Not sure what I'm doing wrong here. I'm taking this opportunity to add persistence to an app that hadn't had it yet.
I followed the WWDC session advice but I get this runtime crash:
SwiftData/BackingData.swift:201: Fatal error: expected attribute to…

Ky -
- 30,724
- 51
- 192
- 308
-2
votes
0 answers
Fatal Error when running on iPad with XCWorkspace
When running my app that uses CocoaPods I am getting this fatal error:
dyld[2583]: Symbol not found: _$s9SwiftData15PersistentModelPAAE8getValue3forqd__s7KeyPathCyxqd__G_tSTRd__AaBRd_0_7ElementQyd__Rsd_0_r0_lF Referenced from:…

anish1
- 27
- 6