Apple appears to have resolved long-running iCloud sync issues linked to its text replacement feature with the release of iOS 11 and macOS High Sierra. Originally introduced in Snow Leopard and iOS 5, text replacements let users create shortcut text that, when typed, expands to something longer, thus saving input time.
The feature can be found on iOS devices in Settings -> General -> Keyboards -> Text Replacement, and in System Preferences -> Keyboard on Macs. Ideally, changes to the text snippets list on one device should sync to all devices logged in using the same Apple ID, but that hasn't always been the case, as MacStadium's Brian Stucki attests:
Text replacement syncing is completely broken. Sometimes it works, sometimes it doesn't. Sometimes it will only sync back old snippets that you have deleted. Sometimes the sync will work one direction, but not the other. Every time I ask about this on Twitter, it brings a strong response of similar experiences.
After years of struggling to get text replacement syncing to work properly, Stucki recently decided to set up a weeks-long experiment to test the reliability of the feature across hundreds of Apple devices running various versions of iOS and OS X/macOS. In short, Stucki's results suggested that the text replacement syncing service was "a complete mess" and routinely failed to sync text snippets across devices.
Following the experiment, Stucki wondered why the syncing had remained so poor across several generations of OS, given that other iCloud syncing features such as Apple Notes had improved in recent years. As noted by Daring Fireball's John Gruber, these improvements corresponded with the introduction of the CloudKit API in 2014, suggesting that text replacements had not been upgraded to run on the newer syncing framework.
However, in an update to his experiment posted on Tuesday, Stucki reported that when he made text replacement changes on a Mac running macOS High Sierra, surprisingly his edits were recognized and synced across nearly every device on the same Apple ID, regardless of OS. "Perhaps a clean install of High Sierra is now saving snippets correctly?" he wondered.
@daringfireball @gruber @rjeitani @MacStadium I just confirmed that text replacements sync through CloudKit on iOS 11 and High Sierra pic.twitter.com/Y1nkfyjx32 — Guilherme Rambo (@_inside) September 27, 2017
Since then, iOS developer Guilherme Rambo has claimed that text replacements do sync through CloudKit on iOS 11 and macOS High Sierra, suggesting Apple has got around to updating the feature to run on the more reliable API. So if you're having trouble syncing text snippets, updating your devices to Apple's latest operating systems might be the best course of action.
Update: An Apple spokesperson informed John Gruber later on Wednesday that an update to move text replacement syncing to CloudKit should be rolling out to iOS 11 and macOS High Sierra 10.13 "in the next month or so".