My iCloud Core Data Database Got Corrupted

My App was crashing while my iPhone and iPad were hooked to Xcode just now, and I find out that my core data database became corrupted or at least, that was the console message. Has anybody else experienced this? I have an update submitted and I am sure it isn't that. But I hope my customers don't have this experience. I deleted my app from my iPhone and iPad and deleted the iCloud data. Brought both apps back up and now I can save data and it will sync and most importantly, the app is not crashing. I am using iOS 9.0.2 on both devices.

iCloud Core Data corruption is the main reason why its usage is actively discouraged by the community. It was never reliable enough, that's why CloudKit was introduced.

That's all well and good, but CloudKit is a relatively late entry. My app already used core data. And now, core data and iCloud are much improved and pretty reliable, I think. But I do admit that if CloudKit were available back then, I would have used CloudKit. I am using CloudKit in a current development.

My iCloud Core Data Database Got Corrupted
 
 
Q