9
내 응용 프로그램과 동기화 작업에 아이 클라우드 통합을 동기화,하지만 때로는이 오류가 얻을 : 나는 잠시 기다리면은 아이 클라우드는 유비 오류
+[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.)"
무슨 뜻인지 어떤 생각하지만, 그것은 것으로 보인다을 iCloud에 병합이 완료되었습니다 ... 누구든지 이것을 해결하는 방법?
나는
[_document.managedObjectContext
setMergePolicy:NSMergeByPropertyStoreTrumpMergePolicy]
그러나 어떤 도움없이 ...
Thnx 설정을 시도!
"가져 오기 작업에 손상된 로그 파일이 있습니다"와 같은 매우 유사한 오류가 나타납니다. iCloud deamon은 1 분마다 재 시도를 계속하지만 내 경우에는 이러한 오류를 극복 할 수없는 것 같습니다. 그러나 후속 재시도시 오류가 해결되는 경우를 보았습니다. – Daniel
@ 대니얼은 해결책을 찾았습니까? 문제는 매 30 초마다 "CoreData : Ubiquity : 트랜잭션 로그를 가져 오는 중 오류가 발생했습니다."오류입니다. 가져 오기 요청이 차단되었습니다. – Stephan
@Stephan - 네,이 문제에 대한 해결책을 찾았습니다 : iOS 5.1로 업그레이드하십시오. 상당히 좋지만, 동기화하는 데는 다소 시간이 걸릴 수 있지만 여전히 변경 사항에 대한 알림을받지는 않습니다. 그러나 앱을 종료하고 다시 시작하면 새 데이터를 볼 수 있습니다. 나는 UIManagedDocument를 닫고 여는 것이이 문제를 해결할 것이라고 생각하지만, 새로운 iOS 버전이 자동으로이를 수정하기를 기대하면서 그 일을 연기했다. – Daniel