• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
10.5 + Core Data project error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10.5 + Core Data project error?


  • Subject: 10.5 + Core Data project error?
  • From: Alex Reynolds <email@hidden>
  • Date: Wed, 31 Oct 2007 08:53:26 -0400

When I create a fresh, new Core Data Application project with an empty data model, I get error messages from the application.

When I run it, I get the following error message when I select the Edit menu:

"The model configuration used to open the store is incompatible with the one that was used to create the store."

I then add an NSToolbar, to which I add an NSToolbarItem (which is a custom view containing an NSSearchField).

When I click inside the NSSearchField, I get the same error message.

When I modify:

- (NSManagedObjectModel *) managedObjectModel

...to replace:

managedObjectModel = [[NSManagedObjectModel mergedModelFromBundles:nil] retain];

...with:

managedObjectModel = [[NSManagedObjectModel mergedModelFromBundles: [NSBundle mainBundle]] retain];


...I no longer get the error message.

However, in the Console, I get the following error:

2007-10-31 08:44:47.640 Cino[15909:10b] *** -[NSBundle countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x30cad0
2007-10-31 08:44:47.641 Cino[15909:10b] *** -[NSBundle countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x30cad0


when I click inside the search field, or select the Edit menu.

Is there something I am missing in the setup procedure when creating a blank, new Core Data application? I'd like to know where the error message.

Regards,
Alex

..............................................................
Alex Reynolds, M. Biot.
Sr IT Specialist
217 Leidy Building / 6013
Department of Biology
University of Pennsylvania
Philadelphia, PA 19104

V: +1 215 573.2818
F: +1 215 898.8780
E: mailto:email@hidden
W: http://www.bio.upenn.edu/computing/

_______________________________________________

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


  • Follow-Ups:
    • Re: 10.5 + Core Data project error?
      • From: mmalc crawford <email@hidden>
    • Re: 10.5 + Core Data project error?
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Concrete Protocols
  • Next by Date: Re: Missing Mouse Events in PDFView
  • Previous by thread: Re: Missing Mouse Events in PDFView
  • Next by thread: Re: 10.5 + Core Data project error?
  • Index(es):
    • Date
    • Thread