Error In Project In The Beginning

I'm building a project that uses SwiftUi, Swift Ui template, CoreData and CloudKit and I automatically get the error "cannot find the item in scope" located in my content view twice. Why does that happen when I select CloudKit before building the project?
Error In Project In The Beginning
 
 
Q