Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iCloud syncing Ubiquity error

Tags:

ios

icloud

I integrated iCloud in my application and the syncing works, but sometimes I get this error:

+[PFUbiquityTransactionLog loadPlistAtLocation:withError:](324): CoreData: Ubiquity:  
Encountered an error trying to open the log file at the location: <PFUbiquityLocation: 
0x1993c0>: /private/var/mobile/Library/Mobile Documents/ ...
Error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. 
(Cocoa error 256 - The item failed to download.)"

-[PFUbiquityTransactionLog loadComparisonMetadataWithError:](220): CoreData: Ubiquity:  
Error encountered while trying to load the comparison metadata for transaction log: 
<PFUbiquityTransactionLog: 0x1a3d60>
transactionLogLocation: <PFUbiquityLocation: 0x1993c0>: /private/var/mobile/Library/Mobile Documents/
transactionNumber: (null)

Error: Error Domain=NSCocoaErrorDomain Code=134302 "The operation couldn’t be completed. 
(Cocoa error 134302.)" UserInfo=0x1a50e0 {reason=Error during property list parsing during 
import or opening of log file at location: <PFUbiquityLocation: 0x1993c0>:    
/private/var/mobile/Library/Mobile Documents/ ... Error Domain=NSCocoaErrorDomain Code=256  
"The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)"

No idea what it means, but if I wait a while, it seems that the iCloud merges are done... Anyone an idea how to solve this?

I tried setting

[_document.managedObjectContext 
   setMergePolicy:NSMergeByPropertyStoreTrumpMergePolicy] 

but without any help...

Thnx!

like image 219
Fousa Avatar asked Dec 23 '11 11:12

Fousa


1 Answers

This kind of log is just informative.

The iCloud deamon can see that a file is in your ubiquitous container only by getting its meta data. Downloading the file content is a second, separate step.

If it fails to download a file, it will just attempt to download it later.

like image 128
Axel Avatar answered Sep 20 '22 04:09

Axel