Post

Replies

Boosts

Views

Activity

Reply to SwiftData with inMemory storage promptly crashes with nw_socket_handle_socket_event
I figured out my initial issue here. While I was fetching data and converting it to SwiftData, I had forgotten to insert it into SwiftData via context.insert(...). Doing this fixed this issue. Now I have the exact same error in another part of my app after modifying data, so I guess SwiftData/CoreData just throws the same thing regardless of what issue it encounters.
Topic: App & System Services SubTopic: iCloud Tags:
Oct ’23
Reply to SwiftData with inMemory storage promptly crashes with nw_socket_handle_socket_event
I figured out my initial issue here. While I was fetching data and converting it to SwiftData, I had forgotten to insert it into SwiftData via context.insert(...). Doing this fixed this issue. Now I have the exact same error in another part of my app after modifying data, so I guess SwiftData/CoreData just throws the same thing regardless of what issue it encounters.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’23