You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6cee2c6
Browse filesBrowse the repository at this point in the historyBrowse files
fix(backup): file-coordinated container I/O so iCloud actually uploads (build 12)
Live observation from a second device on the same Apple ID proved the
container's directory skeleton synced but no file ever reached the
server - a 30-minute watch during a forced full re-mirror recorded zero
arrivals. Uncoordinated writes (atomic rename-into-place in particular)
are not reliably seen by the iCloud sync daemon.
- All container mutations now run under NSFileCoordinator (.forReplacing
/ .forDeleting); the catalog/manifest write is a coordinated in-place
data write instead of String.write(atomically:), whose rename is what
left files invisible to the daemon.
- New uploadStatus (NSMetadataUbiquitousItemIsUploadedKey) reports how
much of the backup Apple's servers actually hold; the support-sheet
status line now says 'Backing up - N files still uploading to iCloud'
(localized in all 13 languages) until everything is durable, instead
of implying safety while data sits only in the local replica.
Simulator smoke: the coordinated paths produce a byte-identical mirror.
Real-iCloud validation: live Mac-side container watch during a device
re-mirror, which previously recorded zero uploads.
Claude-Session: https://claude.ai/code/session_01Y9r9L2vDPQwyEEV61qWyfp
0 commit comments