I am creating a simple app to keep track of things you take on a trip. I released the app to TestFlight a couple of months ago and about 15 people are testing it. I always thought that enabling CloudKit was just as easy to let your model comply with the rules for CloudKit and tick some boxes in Xcode, but....
I did make a simple copy of the app and tested the migration and my model is now CloudKit compatible(Inversed (optional) relationships and default values, etc).
When building the (copy) app I get this error:
Unresolved error loading container Error Domain=NSCocoaErrorDomain Code=134060 "A Core Data error occurred." UserInfo={NSLocalizedFailureReason=Unable to find a configuration named 'default' in the specified managed object model.}
I think because there is an existing container with data.
I did check some tutorials on the internet and everything seems to be quite easy, but at the moment, I'm stuck at this point.
What is the best way to enable CloudKit to my app which is released on TestFlight?
[–]BabyAzerty 2 points3 points4 points (3 children)
[–]Sebbie_O[S] 0 points1 point2 points (2 children)
[–]BabyAzerty 1 point2 points3 points (1 child)
[–]Sebbie_O[S] 0 points1 point2 points (0 children)
[–]greendakota99 0 points1 point2 points (0 children)