Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1456456465: The subclass of NSIncrementalStore causes infinite recursion after iOS upgrade. #21307

Open
openradar-mirror opened this issue Aug 22, 2019 · 0 comments

Comments

@openradar-mirror
Copy link

Description

This issue is only reproducible when the app fetches incremental store metadata via metadataForPersistentStoreOfType: URL: error: method after upgrade to iOS 13 beta 6.

Inside NSIncrementalStore subclass I have code like this:

  • (BOOL)loadMetadata:(NSError *__autoreleasing *)error {
    NSURL *storeURL = [self URL];

    NSDictionary *metadata = @{NSStoreUUIDKey: <#key loaded from backing data store#>,
    NSStoreTypeKey: @"XYZMyIncrementalStore"};
    [self setMetadata:metadata];

    return YES;
    }

The bug isn't reproducible with freshly installed apps.

https://www.dropbox.com/s/hj2nl3oenm5ycly/app%20crash.png?dl=0
https://www.dropbox.com/s/ze56t153jlvx1lc/Screen%20Shot%202019-08-22%20at%2010.44.40%20AM.png?dl=0

Product Version: iOS 13 beta 6
Created: 2019-08-22T07:56:13.170124
Originated: 2019-08-15T00:00:00
Open Radar Link: http://www.openradar.me/1456456465

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

No branches or pull requests

1 participant