Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zombie: XCode detects a phantom file that I can't find. {Part Deux: extra character is placed upon name}



On Apr 1, 2006, at 5:35 PM, Frederick C. Lee wrote:

I changed the name of the problem MO in the data model
from 'MapCoordinates' to 'Turkey'. I changed the NSArrayController's attribute as well.


What I got is:  *** NSRunLoop ignoring exception
'no such table: ZTURKEY' that raised during posting of delayed perform
with target 38bd9e0 and selector 'invokeWithTarget:'


So now I know that XCode or something else is tacking on an extra character (ascii 'Z'?) to the
MO name, screwing things up.

CoreData owns the schema. It does do a transform (currently uppercase prefixed with a Z) on your entity and attributes names when building the SQLite tables. In fact, it could translate them into pig latin, and it would be well within its right to do so :-)


I'm clueless to what is happening here.

Your best bet is to break at the point the exception is raised and glean from the backtrace what is going on.


If you've modified your data model and are trying to use an existing SQL store, that is the root of your problem. (But that is just a WAG at this point.)

Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Zombie: XCode detects a phantom file that I can't find. {Part Deux: extra character is placed upon name} (From: "Frederick C. Lee" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.