# iCloud 同步问题的土法大杀器：以解决 DEVONthink 同步问题为例

> 本文开放前 70% 正文，剩余内容会员可见。

原文：https://utgd.net/article/20436

iCloud 同步在开发者圈儿是有口皆碑的不稳定。不必说 DEVONthink 这种文件量大的，官方和社区已经惯于甩锅；就连我用 Apple Music 这种官方营收主力服务，都能不好好给我同步歌单。即便如此，就如重启是各种电子设备问题的土法大杀器一样，iCloud 的同步问题也有一个土法大杀器。

这个土法大杀器核心思路是： 1\. 云端数据为主的服务：先在本地把东西删完保留云端数据，然后关掉同步再打开，重新下载云端内容。适用于云端数据为主的服务，比如 Apple Music。 2\. 本地数据为主的工具：先在本地备份数据，然后直接把 iCloud 中停掉同步，删掉 iCloud 中储存的内容。再重新在主设备上传内容，重新在其它设备下载。这种适用于 DEVONthink 这样有本地数据文件的工具。

## DEVONthink 的情况

让我们以 DEVONthink 为例。我自从换设备后 DEVONthink 又双叒叕不好好同步了。症状表现为：

- 新设备发生的变化会同步给老设备，但反过来不行。

- 在 DEVONthink 的同步界面根本看不到可以同步的 Database

给官方发邮件官方灵魂反问：请好好考虑一下有必要用同步吗？

> Regarding syncing, the first question you need to ask yourself is, "Do I need a remote sync option?"\. Consider these questions… 关于同步，你需要问自己的第一个问题是：\_“我需要远程同步选项吗？”\_请考虑这些问题\.\.\.

好一个加斜加粗 😅

> Do you need to sync between machines – especially desktop Macs – in different geographic locations? Do you have a colleague, assistant, significant other, etc\. that needs frequent updates to synced data? Are you using a shallow sync, i\.e\., Download Files\: On demand in DEVONthink To Go? If the answer is no to any of these questions, a local sync on your network is suggested\.

然后甩锅给 iCloud：

> If you do need a remote option, CloudKit has not been very reliable for many people \(including developers\) for several months\. You may want to consider an alternative\.

说实话他这个态度不是太好。他卖 To Go 就应该 cover 用户所有同步需求，而不是甩锅给同步服务。更何况这问题回答的相当于没回答。

最后还是在 DEVONthink 论坛找到了一个只有 2 赞的回答解决了问题。把他的步骤根据我的实践细化一些，用中文表达如下：

- 删除 DEVONthink To Go，重新

---

[前往标准阅读页](https://utgd.net/article/20436?audience=web)
