Sandboxed macOS app using SwiftData and CloudKit cannot initialize CloudKit mirroring.

I have a Mac and iOS app intended to sync data in iCloud. Both apps in TestFlight, the iOS reads and writes to iCloud but the Mac fails as the App Sandbox denies mach-lookup com.apple.cloudd, so NSCloudKitMirroringDelegate` never reaches the daemon and setup fails permanently. I have a minimal app reproducing the issue on for the Mac app. I also submitted a feedback FB24450529

Sandboxed macOS app using SwiftData and CloudKit cannot initialize CloudKit mirroring.
 
 
Q