I have found a strange lines like:
id *_optimizationHints;
<- in NSManagedObjectModel.h
id* _cd_snapshots;
<- in NSManagedObject.h
id** _kvcPropertyAccessors;
<- in NSEntityDescription
id* _debuggingRecords;
<- in NSManagedObjectContext.h
id *_cachedObsInfoByEntity;
<- in NSManagedObjectContext.h
When i try to compile a project with ARC option, i see error like this: Pointer to non-const type 'id' with no explicit ownership
What's wrong? As i read from similar questions, i need to replace id *
-> id
But this is Main CoreDate.Framework!
I can't understand this.
Can anybody explain this 'joke'?
I encounter similar issue this morning. Seems the problem is due to the Core Data has been built in somehow. When we import the CD framework, I have to go to Building Phases to add dependency framework instead of drag and drop directly from Finder. Hopefully this is helpful
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With