Can you please help me to understand how to fix this issue ? I am attempting to add Magical Record along with my CoreData database inside a Static Framework that I can use across multiple projects.

The exception I get is the following:

**+entityForName: could not locate an entity named 'APIContent' in this model.**

Please code being ran within my Model below:

```
(void) insertOrUpdate:(NSDictionary *) objectDictionary {
@try {
NSManagedObjectContext *localContext = [NSManagedObjectContext MR_contextForCurrentThread];

APIContent *product;

//  Check if Object Exists
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"id == %@", [objectDictionary objectForKey:@"id"]];
product = [APIContent MR_findFirstWithPredicate:predicate inContext:localContext];

BOOL objectIdNotFound = product == nil ? TRUE: FALSE;

if (objectIdNotFound) {
    product = [APIContent MR_createInContext:localContext];
}

// Import Values from the NSDictionary object
[product MR_importValuesForKeysWithObject:objectDictionary];

[localContext saveToPersistentStoreWithCompletion:^(BOOL success, NSError *error) {
    if (success) {
        DDLogCInfo(@"Object saved successfully.");
    } else {
        DDLogError(@"Object NOT saved successfully");
    }
}];
}
@catch (NSException *exception) {
DDLogError(@"Class: %@ Function: %s at Line: %d \n Exception: %@", [self class], func, LINE, exception);
}

}

```

Thanks,
Michael