核心数据与iCloud同步随机崩溃

时间:2014-01-20 21:24:23

标签: ios iphone objective-c core-data icloud

我的应用程序在尝试同步到iCloud时随机崩溃。这是我的崩溃日志:

-[_PFUbiquityRecordsImporter operation:failedWithError:](1006): CoreData: Ubiquity:  Import operation encountered an error: Error Domain=NSCocoaErrorDomain Code=134060 "The operation couldn’t be completed. (Cocoa error 134060.)" UserInfo=0x175c6310 {exception=<PFUbiquityPeerRangeCache: 0x1762f330>
localPeerID: ZFP4XFRG6X~com~gordonmacleod~ProjectName storeName: mobile~60C52EFE-9874-4437-83B2-30C8956E5131

 Unable to resolve global object IDs: (
"<PFUbiquityGlobalObjectID: 0x188ccac0> (ZFP4XFRG6X~com~gordonmacleod~ ProjectName:Term:p1099:mobile~60C52EFE-9874-4437-83B2-30C8956E5131)",
"<PFUbiquityGlobalObjectID: 0x18a51d50> (ZFP4XFRG6X~com~gordonmacleod~ ProjectName:List:p1026:mobile~60C52EFE-9874-4437-83B2-30C8956E5131)"
 )

我出错的任何想法?

1 个答案:

答案 0 :(得分:-2)

iCloud Core Data is broken.

最好将数据序列化为JSON并使用Document-based approach