• 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
Re: Does Core Data have reserved Entity names?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does Core Data have reserved Entity names?


  • Subject: Re: Does Core Data have reserved Entity names?
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 30 Sep 2009 07:04:53 -0400

On Sep 30, 2009, at 3:53 AM, Alex Reynolds wrote:

After I added an Entity called "Object", I get the following message when executing my application on the iPhone:

objc[4219]: Class Object is implemented in both /usr/lib/ libobjc.A.dylib and /var/mobile/Applications/BFDFC14C-DB60-44BB-8118- D2AAB39E2EE6/MyApp.app/MyApp. One of the two will be used. Which one is undefined.

"Object" is the "original" root class in Objective-C. ObjC allows multiple root classes but Apple's implementation uses NSObject. It appears "Object" is still available somewhere, though.


I remember reading about it years ago but I can only find references to this fact and not a clear statement of the fact itself. Hate it when that happens.

Whatever the answer, the simple solution is to change your entity's name.

--
I.S.


_______________________________________________

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: Does Core Data have reserved Entity names?
      • From: Alex Reynolds <email@hidden>
References: 
 >Does Core Data have reserved Entity names? (From: Alex Reynolds <email@hidden>)

  • Prev by Date: NSTimer and modal panels
  • Next by Date: Re: NSTimer and modal panels
  • Previous by thread: Re: Does Core Data have reserved Entity names?
  • Next by thread: Re: Does Core Data have reserved Entity names?
  • Index(es):
    • Date
    • Thread