ObjectiveRecord icon indicating copy to clipboard operation
ObjectiveRecord copied to clipboard

Make used `NSBundle` overridable

Open kimar opened this issue 9 years ago • 1 comments

When using ObjectiveRecord as a dynamic framework, NSBundle.bundleForClass(self) returns the framework's bundle which then, in turn, won't yield the correct CoreData model file. By overriding the bundle when using CoreDataManager this can be fixed.

kimar avatar Mar 26 '16 09:03 kimar

This seems to have been abandoned. But i agree with this. I use ObjectiveRecord within a private cocoa pod and the fetching of the ManagedObjectModel needs to be done within a bundle within a framework within the main bundle.

The travis issue if i remember correctly has to do with Travis changing the ruby version on their OS X images.

rohan-panchal avatar Jun 22 '16 16:06 rohan-panchal