Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Make used NSBundle overridable #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kimar
Copy link

@kimar kimar commented Mar 26, 2016

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.

@rohan-panchal
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants