I ran into a sync problem an noticed this, I thought the problem was as Xcode said: iCloud not configured.
But really, it was latency, especially in my case, there was a lot to sync, eventually my program worked, and clearly synced between devices using iCloud.
Don't be surprised if this is a bug, after all, it's Xcode ;)