Yeah, I had the same issue myself. When the model is created, the app crashes as it can't find an available CloudKit container.
If you have CloudKit enabled, it requires all properties to be optional. Making all properties and relationships optional fixed the issue for me.