Skip to content

cupertino-files / IWORK_ERAS

Variable: IWORK_ERAS

const IWORK_ERAS: readonly ["iwork13", "iwork16", "iwork19", "modern", "current", "future"]

Defined in: src/tsp/version.ts:74

Observed format eras, derived from the fileFormatVersion marker in Metadata/Properties.plist (mirrored by TSP.PackageMetadata.file_format_version).

The numbering discontinuity is real: Apple used a format-specific counter (1.x → 3.x) through 2019, then switched to mirroring the application version (10.x with Pages/Numbers/Keynote 10 in 2020, up to 14.x), then to year-based versioning (26.x) in 2025. Eras are ordered, so eraAtLeast(era, "modern") is a meaningful test.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.