Open openradar-mirror opened 5 years ago
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
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