I have double checked my models against the incoming JSON and it all matches up properly. I inserted the recommended code above and it indeed crashes on the modelContext.save but it never gets to the catch. It simply display a SIGABRT stating "An abort signal terminated the process. Such crashes often happen because of an uncaught exception or unrecoverable error or calling the abort() function."
Executing the exact same code works perfectly in iOS 18 without any changes. Calling the same endpoint and using the same JSON returned by that endpoint works without a hitch.
It seems to me that if the code works in iOS 18 and fails in iOS 26, that seems to be indicative of a change in the framework that I cannot check, no?
Topic:
App & System Services
SubTopic:
iCloud
Tags: