I have been observing this issue for a while, and I think I've been able to narrow down the problem to some reproducible steps.
I have MacDive enabled on both iPhone and Mac, with sync via Dropbox. I also have several gear groups. The issue manifests when I am making a change in the items in a group on the Mac. On the first sync on the iPhone, the sync fails, restarts, and it continue to fails once for every change I made in the gear. Eventually, the sync on the iPhone "completes" but the outcome it that each failure somehow restores the previous state in Dropbox and on the next Mac sync all the changes are reverted.
To reproduce:
1. Enable a sync on both iPhone/Mac via Dropbox
2. Create at least one gear group with some gear items (either on the iPhone or Mac). Sync.
3. Go to the Mac, and remove an item from the group. Sync. Close the Mac.
4. Open the iPhone, and sync. The sync will fail. Try again, and it will complete. Close the iPhone.
5. Open the Mac, and sync. The sync succeeds, and the item is back in the group. Close the Mac.
6. From the iPhone, remove the item from the group. Sync. Close the iPhone.
7. Open the Mac, and sync. The item is now correctly removed from both Mac/iPhone.
The iPhone somehow deletes the item in a way that is correctly synced across devices. The other way around is not true.
Sync between Mac/iPhone fails when editing gear groups
- nick
- Site Admin
- Posts: 4375
- Joined: Sat Apr 12, 2008 8:33 am
- Dive Computer: Shearwater Teric
- Contact:
Re: Sync between Mac/iPhone fails when editing gear groups
I've heard this a few times before, from a friend, and from someone else just now via email (weird coincidence). Thanks for the repro steps, this is the first time I've seen something as specific.
I took a look at how the remove works, it doesn't really use code, it goes through some semi-automated standard mac stuff. I have made a small change to make it remove the same way iOS does, manually, instead of doing that. I have not fully tested your steps, but I have a beta available if you'd like to try it (drop me an email).
It will hopefully fix it..
I took a look at how the remove works, it doesn't really use code, it goes through some semi-automated standard mac stuff. I have made a small change to make it remove the same way iOS does, manually, instead of doing that. I have not fully tested your steps, but I have a beta available if you'd like to try it (drop me an email).
It will hopefully fix it..