3

我正在尝试通过 iCloud 在两台设备之间同步核心数据应用程序的数据。它基本上似乎工作,但它大多失败。数据不显示,或随机/部分显示。同步需要很长时间(有时:数小时)。

当然,我尝试了所有明显的补救措施,例如从设备中删除应用程序和数据等。

我收到以下消息(相关摘录):

[_PFUbiquityRecordsImporter operation:failedWithError:](839): 
CoreData: Ubiquity:  Import operation encountered an error: 
Error Domain=NSCocoaErrorDomain 
Code=134060 "The operation couldn’t be completed. 
(Cocoa error 134060.)" UserInfo=0x1106a6a0 
{exception=Attempted to perform an operation without an open database} 
while trying to import the log file at the URL: 
<PFUbiquityTransactionLog: 0x11062710>

紧接着

CoreData: Ubiquity: Error importing transaction log: 
<PFUbiquityTransactionLog: 0x110eb820> 

然后

-[_PFUbiquityRecordsImporter operation:failedWithError:](824): 
CoreData: Ubiquity:  Import operation encountered a corrupt log file, 
Error Domain=NSCocoaErrorDomain Code=134302 
"The operation couldn’t be completed. (Cocoa error 134302.)" 
UserInfo=0x12e0b0 {underlyingError=Error Domain=NSCocoaErrorDomain Code=19 
"The operation couldn’t be completed. (Cocoa error 19.)" UserInfo=0x1af070
{NSUnderlyingException=error during SQL execution : constraint failed,
NSFilePath=/var/mobile/Applications/
59087988-334C-40DC-9F6A-C7DA22F7B790/Documents/database.sqlite, 
NSSQLiteErrorDomain=19}, reason=Error encountered while importing 
transaction log at URL: <PFUbiquityTransactionLog: 0xe87b3f0>

关于这个“没有打开的数据库”错误的任何线索?
“损坏的日志文件”怎么办?

4

0 回答 0