Error with CoreData + CloudKit initialization

Hi,


I'm trying to play with both framework.

In my project I just initialized the managedObject and persistentstore.

I configured the project (capabilities and checked iCloud)

Just with that i got the error below:


Domain=NSCocoaErrorDomain Code=134080 "The operation couldn’t be completed. (Cocoa error 134080.)" UserInfo=0x7fa9ebf1a810 {Reason=Didn't get a container URL back from URLForUbiquityContainerIdentifier:, giving up now. Please ensure the application is signed with the proper entitlements to read from the container., NSPersistentStoreUbiquitousContainerIdentifierKey=null}


I check the entitlements file automaticaly created, and everything seems fine.

What could be the issue then ?!


Thank you very much for any help.

Fred

Error with CoreData + CloudKit initialization
 
 
Q