As of now, it's not listed as supported and also doesn't work.
Is SwiftData not coming to visionOS?
As of now, it's not listed as supported and also doesn't work.
Is SwiftData not coming to visionOS?
I heard rumours from an Apple engineer that it will be implemented. But it’s very confusing as a developer to have a new SDK, where we’re encouraged to develop next-gen apps, without the ability to use SwiftData. There also seems to be no ability to add CloudKit to a visionOS app.
On visionOS, my app works fine when fetching CKRecords, but crashes when it tries to fetch SwiftData. My app works fine on the iPhone and iPad Simulator.
You problem know this, but SwiftData works fine now on visionOS.