Cloudkit schema update - where are the best practices?

Hi all,

I use CoreData with cloudkit. After deployed development in production, I could sync data between test device via TestFlight.

I update a new entity in Coredata (table "Appareil"), what are the best practices to update cloudkit environnement because now, I have a lot of error when I test my app and sync is not available between devices.

Thanx a lot for your help.

UserInfo={NSLocalizedFailureReason=Request '896032F2-F210-4AAD-96CB-C4A31478F760' was aborted because the mirroring delegate never successfully initialized due to error: <CKError 0x281ba4360: "Partial Failure" (2/1011); "Failed to modify some records"; uuid = B71C0B7E-56EB-4FA7-9F06-E5D25DC447F4; container ID = "iCloud.fr.xxxx"; partial errors: {CD_FAKE_Appareil_99A4EBDA-F1F2-474B-9928-1F0685D244FA:(com.apple.coredata.cloudkit.zone:defaultOwner) = <CKError 0x281bbd9e0: "Invalid Arguments" (12/2006); server message = "Cannot create new type CD_Appareil in production schema"; op = 9BEAC4021C3657F9; uuid = B71C0B7E-56EB-4FA7-9F06-E5D25DC447F4>... 71 "Batch Request Failed" CKError's omited ...

  • is your app pointing to production?

Add a Comment