Reply to Xcode Version 15.0 beta 5 (15A5209g), SwiftData Problem - "The given data was not valid JSON." Exact same issue. Storing image data in external storage worked perfectly until Beta 5. Developer Tools & Services Xcode Jul ’23