Post

Replies

Boosts

Views

Activity

Reply to SwiftData model in Swift package
I had a working app in Xcode Beta 2, but now in Beta 5 I am seeing a very similar issue. I am creating the ModelContainer from a url which points into an AppGroup container. The app hangs for a long time before crashing with a segfault EXC_BAD_ACCESS (code=2, address=0x16f96bff8). The fact that it's a segfault makes me think that something is happening on the wrong thread, as it should be some more safe error if there is e.g. a migration issue with the SQLite storage.
Aug ’23