After replacing NSPersistentCloudKitContainer with NSPersistentContainer, I'm still getting the crash, as you suspected. Attached is the crash report when I ran the code on the simulator. BugTest.txt
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: