SwiftData public sharing

I have an Apple app that uses SwiftData and icloud to sync the App's data across users' devices. Everything is working well. However, I am facing the following issue:

SwiftData does not support public sharing of the object graph with other users via iCloud. How can I overcome this limitation without stopping using SwiftData?

Thanks in advance!

I am also trying to get information on SwiftData Public Database implementation... So I understand that coredata support this, but I have not seen examples of that yet. I am also giving you an upvote...

Same issue for me. A bran new app coded with SwiftData and now I want to share models... And nothing really new regarding SwiftData at WWDV 25. upvote.

My use case is a bit different. In my app, I want a group-sharing environment. That is, principal user A sets up the app using a specified AppleID (probably his/her own). User A also authorizes a list of other people (i.e., other AppleIDs) who can share that data. And when those individuals install my app, they can have a way to specify that they use A's cloud account (rather than their own) as their cloud sync.

In this way, the data is sharable between a small, controlled group of people. It is not public. And any combination of personal and other group accounts are possible.

SwiftData public sharing
 
 
Q