Skip to content

Framework support missing #278

@tomasz-czyzak

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

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