• 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
entity name not found when model is in private framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

entity name not found when model is in private framework


  • Subject: entity name not found when model is in private framework
  • From: Rick Mann <email@hidden>
  • Date: Fri, 22 May 2009 01:45:32 -0700

I'm working on a Framework with a Core Data model. When I first built the test app, I couldn't get the Framework to work right, and so I had all the source files (and .xcdatamodel) included in the test app directly. That worked fine.

I've figured out the Framework issues, and moved the model & source code files back to it. The code runs, but I get this error:

5/22/09 01:38:07 FullExample[37912] +entityForName: could not locate an entity named 'OSMNode' in this model.

I put the files all back in the test app project just to double check, and that works. Do I need to do something special in this situation? The test app code instantiates an object in the Framework and calls a method (this works), but otherwise doesn't directly access the model.

TIA,
--
Rick

_______________________________________________

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: entity name not found when model is in private framework
      • From: Adam Swift <email@hidden>
  • Prev by Date: Re: [Core Data] Can we use setValue:forKey: in *willSave* method of NSManagedObject?
  • Next by Date: Re: Merge 2 QTTracks in a QTMovie
  • Previous by thread: Re: [Core Data] Can we use setValue:forKey: in *willSave* method of NSManagedObject?
  • Next by thread: Re: entity name not found when model is in private framework
  • Index(es):
    • Date
    • Thread