The most up-to-date is on my iPhone. I had changes on my Mac, but I
made the mistake of uninstalling and re-installing Codebook, and lost a
couple of changes (nothing terribly important though).
Here is the integrity check message: “Notes missing an icon property
were repaired. Fields with incorrect sort indexes were repaired.”
Since you have your most up-to-date information on your iPhone, let’s try resetting Codebook by removing your encrypted database on your Mac and restoring from Dropbox. Here are the instructions to reset Codebook on your Mac: Resetting Codebook follow the instructions under “For OS X”.
After which setup Codebook for Mac with the same master password as you were using before, then attempt to sync again.
Let me know if this allows you to sync regularly. Thanks!