I'm trying to make my first framework for iOS.
I have core data in it, in my xcdatamodel I have two entites, I auto generated classes for both models, but when I print [[managedObjectModel entities] valueForKey:@"name"] I see only first entity.
Also when I try to init fetchRequest withEntityName of second entity I don't see it at all.
And the weirdest thing is that for first entity everything works perfectly. Also if I do updates inside first entity I can see it, so I believe that it has the latest version.
As per my experience I have used all private variable and it will not access out side
frameworkso that may be the case.or you one more thing you have to specify your
frameworkcore databundlepath so that thatentitywill access by current project in which you have used dynamicframework.Like this :
may be it will help you to get your entity in current project.
Let me know if it will solve your problem.
Thanks.