Experimental browser for the Atmosphere
My most frequent crash occurs within #SwiftData but I’ve not a clue what to make of the stack trace. An assertion failure in `PersistentModel.keyPathToString(keypath:)` while deleting models using a predicate? #iOSDev
Apr 27, 2024, 9:49 PM
{ "uri": "at://did:plc:3ywuhhs7edzwa4j3eaqyte4l/app.bsky.feed.post/3kr5fyl3tdr2n", "cid": "bafyreihqcgmisfopxnajmr6o7kaz4hs3c4xzt7cyai6mh25jl7qkrsze6e", "value": { "text": "My most frequent crash occurs within #SwiftData but I’ve not a clue what to make of the stack trace. An assertion failure in `PersistentModel.keyPathToString(keypath:)` while deleting models using a predicate? #iOSDev", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.images", "images": [ { "alt": "Thread 0\n\n0\nlibswiftCore.dylib\n_assertionFailure(_:_:file:line:flags:)\n\n1\nSwiftData\nstatic PersistentModel.keyPathToString (keypath:)\n\n2\nSwiftData\nPredicateExpressions.KeyPath.convert(state:)\n\n3\nSwiftData\nprotocol witness for ConvertibleExpression.convert(state:) in conformance Predicate...\n\n11\nSwiftData\nModelContext.delete<A>(model:where:includeSubclasses:)\n\n12\nSwiftData\ndispatch thunk of ModelContext.delete<A>(model:where:includeSubclasses:)", "image": { "$type": "blob", "ref": { "$link": "bafkreibjhcjashsfughzvz4h65pka5hr7jrm2af7i4pomwfbb7tgbvwox4" }, "mimeType": "image/jpeg", "size": 200074 }, "aspectRatio": { "width": 1340, "height": 318 } } ] }, "langs": [ "en" ], "facets": [ { "index": { "byteEnd": 47, "byteStart": 37 }, "features": [ { "tag": "SwiftData", "$type": "app.bsky.richtext.facet#tag" } ] }, { "index": { "byteEnd": 219, "byteStart": 212 }, "features": [ { "tag": "iOSDev", "$type": "app.bsky.richtext.facet#tag" } ] } ], "createdAt": "2024-04-27T21:49:02.372Z" } }