Re: Sharing a persistent store between iOS and Mac
Re: Sharing a persistent store between iOS and Mac
- Subject: Re: Sharing a persistent store between iOS and Mac
- From: Fritz Anderson <email@hidden>
- Date: Fri, 26 Aug 2011 10:20:37 -0500
Thanks for the lead. I thought I'd tried this before (pointing both at the same .momd was a desperate measure), but I'll try again.
— F
On 26 Aug 2011, at 9:19 AM, Heath Borders wrote:
> I created a command-line build tool, and generated a sqlite coredata store with it. Then I copy the sqlite into my iOS project and add it to the Copy Bundle Resources phase. I do NOT copy the momd. I reference the same xcdatamodel file in both projects and each one builds its own copy. Perhaps the sqlite file is shareable but the momd is not?
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden