Post

Replies

Boosts

Views

Activity

Comment on SwiftData not loading under iOS 26.1
Thanks for swift response. I will do, but my first priority is to get my published app with paid subscriptions working for my users. From further investigation and testing, it looks that even empty store having model with property containing Array of optionals can't be transferred between iOS 26.1 and pre-iOS 26.1. So this should break: @Model class SomeClass: Identifiable { var id: UUID = UUID() var breakingProperty: Array[String?] }
Nov ’25
Comment on iOS 26.1 and SwiftData: Can't reuse store?
Randomly I managed to get past this error - I was trying to make a minimum reproducible version and in that Xcode was not building until I removed some Hashable and Equatable implementations from one of the models. Removing those in original code (which was building just fine) somehow helped get past this error. Somehow previously Xcode required at some point those Hashable and Equatable implementations, even if I have similar models without those. So let's consider this one resolved.
Nov ’25
Comment on SwiftData not loading under iOS 26.1
SwiftData models were not changed - no migration expected. Same build worked under pre-iOS26.1 and not working under iOS26.1. Still investigating, I had found that store created under iOS 26.1 can't be loaded on pre-iOS 26.1 and other way around (using same code, including models). Expected? Working now on hotfix-workaround - pre-populating two version of stores with data - one on iOS 26.1 and one on pre-iOS 26, and then on opening the app will connect to the store matching device iOS version.
Nov ’25