Skip to content

Framework support missing #278

Description

@tomasz-czyzak

There is an issue when your database is delivered thru framework.
During migration method:
- (BOOL)loadMetadata:(NSError **)error {
calls:
[bundles addObject:[NSBundle mainBundle]];
as a result it can't find model delivered in framework bundle and migration fails.
It should use:
[[NSBundle bundleForClass:[self class]]
or
[NSBundle bundleWithIdentifier:modelBundleIdentifier];
where modelBundleIdentifier is being passed from application thru options dictionary

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions