How to get all CoreData store included in an archived copy of my Mac application

I want to run my Mac App developed on iMAC, on My MacBook Air. I used Xcode Archive utility to create a copy which I transferred to a Flash Drive and copied to my MacBook. When I run the app, none of the data in my CoreData entities are there.


How can I archive my app to include the CoreData stores?


Thanks

Replies

They'll need to be included as part of the resources in your built application. You can add a new copy-files phase to copy the store files at build time.