Is it possible that two applications with different xcdatamodel version can use the same sqlite file as the Persistent Store?

Hi,


I am trying to share my application Database between two different applications. They are subscribing to the same app group. I am able to share the DB i.e. sqlite file between the two apps. However since both the applications are using Core Data, it works seamlessly only if both the application have the same version of the xcdatamodeld file.


What i am observing is:

Whenever an app is installed/launched, it updated my database version to sync with the xcdatamodel applicable to the app. The second application is throws an error of table not being available, unless the user kills the app and relaunches is again.


Is it possible that two applications with different xcdatamodeld files i.e. different set of Entities can use the same sqlite file as the Persistent Store without destroying the table created by other application?


Any help will be welcome. Thanks in advance.