same here. macOS 14.5, MacBook Pro M3
I can create some records (SwiftData) - and then, it crashes when I click into the first field of the new created record. Filling in one of the other TextFields seems to work, editing the record afterwards seems to work fine
Post
Replies
Boosts
Views
Activity
after posting my answer, I spent some more time on that
I had no crashes under the iPhone simulator
same app started as 'on my Mac', crashes after 3 or 4 new records
Since I didn't had crashes when creating new records via sheet (2 empty TextFields and a button to create that record), I did the following:
in my model, I initialized two fields with a string (before, I initalized the fields with empty strings ("")), "Title..." and "Author...".
(title was the first field, clicking into that forced the crash)
After this change, I created about 12 records, no crash!
Hope that was the solution! Means that the empty string/attribute was the problem