Re: Issue with Core Data Model
Re: Issue with Core Data Model
- Subject: Re: Issue with Core Data Model
- From: Alex Zavatone <email@hidden>
- Date: Fri, 11 Jan 2013 11:24:19 -0500
Yeah, I never touched data models in Xcode 3 so I can't comment on that but I think you are on to something.
If you are able to bulk change "description" to "myDescription" does the problem go away?
How easy is it to duplicate your project, try those changes, remove the old models and see if this approach catastrophically breaks or shows some promise?
On Jan 11, 2013, at 11:16 AM, Amy Gibbs wrote:
> Hi,
>
> To be honest I don't really know. I have an entity called Idea, and a string attribute of 'description' Xcode4 really doesn't like this and crashes. I can change the attribute name in a new data model, but can I then remove the old models and just leave the mapping models to deal with upgrading the file?
>
> Many Thanks
>
> Amy Gibbs
>
>
>
>
> On 11 Jan 2013, at 4:12PM, Alex Zavatone <email@hidden> wrote:
>
>> Is this a collision with a class's description method?
>>
>> Back as of Xcode 4.2, many classes would not implicitly support po in the debugger unless you wrote your own description method to return the properties you wanted to expose.
>>
>>
>>
>> On Jan 11, 2013, at 8:22 AM, Amy Gibbs wrote:
>>
>>> I've got an app that I write just for me. I've been using it for a couple of years on 10.5. Everything has now been upgraded and I'm on 10.8. I need to upgrade the app as it doesn't work properly.
>>>
>>> One of the issues is I called and attribute of an entity 'description'. This didn't appear as an error in Xcode 3 which I was using, and didn't create a problem using the app. Now in Xcode 4 the model won't even open due to this error. I have got a version of Xcode on a 10.6 machine I can use so I have created a new model version that changes the attribute name to 'ideaDecription'.
>>>
>>> My problem is that is still does not like the error in the old data models.
>>>
>>> Can I delete the old models and leave just the mapping model files?
>>>
>>> Many Thanks
>>>
>>> Amy Gibbs
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> 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
>>
>
_______________________________________________
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