Re: converting coredata files
Re: converting coredata files
- Subject: Re: converting coredata files
- From: Dave Fernandes <email@hidden>
- Date: Thu, 07 Feb 2013 11:32:26 -0500
Can you post the exact error message or error code you get?
I don't remember how migration worked in Leopard (I skipped from Tiger to Snow Leopard), but can you post the code snippet that does the migration?
On 2013-02-07, at 9:34 AM, Amy Gibbs <email@hidden> wrote:
> I've installed 10.5 and Xcode 3 on an external drive to try and solve this. I've created a new data model changing the Idea.description to Idea.ideaDescription and created a mapping model to manage the change, however when I try to run it with the data file it says it is missing the persistent store, the same happens when I try to simply delete the Idea.description and create a mapping model as well.
>
> Anyone any idea how I can fix this? My data is in an sql store which makes it difficult to manipulate.
>
> I don't mind loosing all of the Idea entities, but I have other entities that I really don't want to loose.
>
> Many Thanks,
>
> Amy
>
> On 2 Feb 2013, at 7:28PM, Dave Fernandes <email@hidden> wrote:
>
>>
>> On 2013-02-02, at 2:09 PM, Amy Heavey <email@hidden> wrote:
>>
>>> Hi,
>>>
>>> I've got an app that I write for myself (I am the only user). I made a mistake when creating the datamodel in xcode 3 (targeting 10.5), I used "description" as an attribute name. I have now upgraded and the current xcodes do not like the project file at all.
>>>
>>> I've got quite a lot of data in this app that I really don't want to loose. It uses an sql store.
>>>
>>> Somehow I need to create a new app for 10.8 that will use the old file, or find a way to convert the old file to work with a new app. The new app will be almost the same but only have the current datamodel.
>>>
>>> Can I create an intermediate datamodel in xcode 3 that removes the error from the file, and create an app. Open the file with this version to upgrade it to the current datamodel. Then create an xcode project without the old datamodels and use that?
>>
>> Yes, this makes sense.
>>
>> I'm not sure if you also need to run your converter app on an older version of the OS.
>>
>>>
>>> Does this make sense?
>>>
>>> Many Thanks,
>>>
>>> Amy
>>> _______________________________________________
>>>
>>> Cocoa-dev mailing list (email@hidden)
_______________________________________________
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