<!--
{
  "documentType" : "article",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/store-versions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Store versions"
}
-->

# Store versions

The metadata keys you use when comparing store versions.

## Topics

### Constants

[`let NSStoreModelVersionHashesKey: String`](/documentation/CoreData/NSStoreModelVersionHashesKey)

Key to represent the version hash information for the model used to create the store.

[`let NSStoreModelVersionIdentifiersKey: String`](/documentation/CoreData/NSStoreModelVersionIdentifiersKey)

Key to represent the version identifiers for the model used to create the store.

[`let NSPersistentStoreOSCompatibility: String`](/documentation/CoreData/NSPersistentStoreOSCompatibility)

Key to represent the earliest version of the operation system that the persistent store supports.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)