I got a response to my feedback saying first "This crash arises from a document that has been closed with unsaved changes. In order to avoid this crash, ensure that the ModelContext is saved before closing the document." then "Thank you for filing the feedback report. We have deployed the fix. Please verify this issue with iOS 18.1 Beta 6".
Unfortunately it looks like the crashing part was fixed, but not the saving of the document. I think they are both equally important, since a document-based app is worthless if you cannot save your work.
This issue can still be seen using the unmodified FlashCards sample app.
Can we get some guidance on this as to whether or not it is now our responsibility to manually save changes? Prior to iOS18 this was not required, and likewise the sample project does not have any code to manually save.
This was tested with Beta 6 and Beta 7, using Xcode Version 16.1 beta 3 (16B5029d)
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: