This problem has caused me profound problem after an apple tech advised that I completely wipe and restore my drive, I have spent days worth of hours trying to work it out with MacOS Sierra because of the following issues, and even lost thousands of dollars worth of business due to apple mail sync dependencies:
Everything is contact driven but my contacts across multiple devices are out of sync
A tech didn't realize that the profile and drive had been migrated, so there was a duality in the boot records so completion of my iCloud sync never completes and the permissions are all incorrect.
My Profiles go up but do not come back down - and the apple webpage does not let you access multiple folders - so doing this for about 10000 files and recreating the structure - on an external drive that apple indexes while your trying to do it is nearly impossible.
Engineers were not aware of the folder hidden in the iCloud that can be revealed through SUDO commands that contains the backend metadata for over 300 applications, and those applications on each device since 2006 AppStore launched and almost wiped the back end after I downloaded every file 1 by 1.
After multiple rebuilds I cannot get a 2015 MacBook Pro back to a Single User / Non - Networked in sync profile mode because of a stuck sync which keeps bringing down the settings even though I turn them off, or attempt too, in settings, prior, so I end up in a several day reset pattern.
Consequently - you can see the problems this would cause with something like XCODE or even MAIL when MAIL can't get your contact information right.
The key seems to lay in 3 specific arenas: after El Capitan your Macs extremely dependent on contact information - 1. for Siri which is a pain, but the least of my issues, as 2. when it is out of sync across several devices causes huge problems with mail and calendars. 3. The iCloud will not resume proper sync if you lose your original migratory UUID information with the previous boot record which I have, but don't know how to make the mac approve both as it did previously and the 300 or so folders of metadata that support iCloud based "shared apps" that I lose if engineering resets my iCloud account on the back end (think purchases made prior to iCloud, handoff or even Microsoft word)- I am Mac loyal since the age of 12 however being told "We do not guarantee retrieval of information from the iCloud" and several weeks (hour to hour) of support, I am at my wits end. I just want to be able get back to working on apps as easily as I can on a PC - without losing 10 years and thousands of dollars of data. Has anyone iCloud issues this to this degree? I have been in data science and development for 2 decades and there are so many undocumented aspects that I don't know how to fix this.
Any help would be appreciated more than you know.