I have a workspace and am trying to add Core Data to it. I went to the project, I want to add Core Data by selecting Target, clicking the + sign in Link Wit Binary Files and adding the basic data structure. This part works great. I can build and run. When I try the following and using this line:
#import <CoreData/CoreData.h>
I get build errors. These build errors are as follows:
"ARC Semantic Issue" Pointer to non-const type 'id' with no explicit ownership
These errors are present in
NSEntityDescription.h NSManagedObjectModel.h NSMnagedObject.h NSManagedObjectContext.h NSPersistentStore.h
Does anyone know why I cannot import Core Data into an existing iOS project? Thanks in advance!
source share