If you are going to create a pre-populated sqlite file that will be used with Core Data, then you must create it using Core Data. It is trivial to create a basic desktop data entry application and use it to create a file, and then embed it in your iOS device.
Do not try to duplicate the data structure or link in the file manually. You can make it work, but you will spend more time trying to make it work, and this will ultimately fail. The internal sqlite structure of a Core Data file should be considered as a private API. The structure is not publicly available and is subject to change without notice.
Marcus S. zarra
source share