Re: converting coredata files
Re: converting coredata files
- Subject: Re: converting coredata files
- From: Keary Suska <email@hidden>
- Date: Thu, 07 Feb 2013 09:40:25 -0700
On Feb 7, 2013, at 7:34 AM, Amy Gibbs 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.
Migration is for end-users. It seems like it would be far easier to simply build export and import methods. Export the data from the old app and build new/import into the new app.
> 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?
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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