Thank you!!
I was loading the persistent store in one of the classes init method, apparently its being called on installation/update of the app. I just moved the loading of the persistent store from init to getTimeline and added in some checks.
I'm guessing this is because main app gets loaded and calls the persistent store migration, same time as the widget calls the shared container migration
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: