Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant