Maybe this has already been solved or everyone, but this wasn't working for me and it looks like I needed to add mergePolicy and set the automaticallyMergesChangesFromParent on the container's viewContext.
Mine looks like this now:
container.viewContext.mergePolicy = NSMergeByPropertyStoreTrumpMergePolicy
container.viewContext.automaticallyMergesChangesFromParent = true
After removing the app and re-running Xcode the data all synced as expected.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: