Cloudkit discrepancy between tvOS and iOS

Hi,

I have an application that would require sync between iOS and tvOS devices. The cloudkit saving/loading code is exactly the same for both platforms but the data does not seems to be synchronised between the 2 devices.

Even when I tried to output the data that was updated, iOS only show the data: CKRecord: 0x123456789>

whereas tvOS showed more details like:

CKRecord: 0x987654321; recordType=SavedGame, recordID=save_file.dat:(_defaultZone:__defaultOwner__), recordChangeTag=ln2rxsh8, values={
    data = "<CKAsset: ??; referenceSignature={length = 21, bytes = 0x??????}, path=~/Library/Caches/save_file.dat, size=8005, UUID=?????, signature={length = 21, bytes = 0x?????????}, wrappedAssetKey=<24 bytes>>"; 

*I replaced the actual data information with ????

Although both have the exact same uploading code, I am having difficulty synchronising between both devices. Not sure what other settings did I missed out to ensure that both can be synchronised properly. Both are using the same iCloud account and apple account.

Would appreciate any help.

Thank you.

Cloudkit discrepancy between tvOS and iOS
 
 
Q