NSPersistentStoreUbiquitousContainerIdentifierKey deprecated
No shutdown date announced. Replacement: NSPersistentCloudKitContainer or SwiftData.
developer.apple.comquote checked
- NSPersistentCloudKitContainer or SwiftDatafrom NSPersistentStoreUbiquitousContainerIdentifierKey
- Your code1 thing to find
Nemotron fixes
In its own wordsmatches the page ✓
This release removes support for the following deprecated `NSPersistentStore` option keys: `NSPersistentStoreUbiquitousContentNameKey` `NSPersistentStoreUbiquitousContentURLKey` `NSPersistentStoreUbiquitousPeerTokenOption` `NSPersistentStoreRemoveUbiquitousMetadataOption` `NSPersistentStoreUbiquitousContainerIdentifierKey` `NSPersistentStoreRebuildFromUbiquitousContentOption` These keys have been deprecated for more than a decade. Affected apps rebuilt with the iOS or macOS 26 SDK will get errors. Apps built against older SDKs will log warnings when opening the store. The on-device persistent store will be fully usable after these keys are removed from options dictionary, albeit without syncing. For data syncing, these APIs were superseded by `NSPersistentCloudKitContainer` in iOS 13 and SwiftData in iOS 17. If absolutely necessary, the iCloud content remains accessible in the containers with the last baseline as a .zip archive file. (157297746) (FB19286235)
What Teire looks for in your code
- model ID "NSPersistentStoreUbiquitousContainerIdentifierKey"
Does it reach your code?