From the WWDC Q&A
(Apple)
answered:
Simply do not use a CloudKit container identifier when configuring the SwiftData stack. There is currently a bug with this, so please file a feedback report.
I expect this will be fixed in the next Beta Release of Xcode.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: