"CoreData: Ubiquity: Librarian returned a serious error for starting downloads Error Domain=BRCloudDocsErrorDomain Code=5" error

I'm getting this error. Sometimes it terminates the app. Sometimes it doesn't.


Can anyone provide some insight ?



2015-06-19 18:48:13.686 FMA Player[355:16074] __45-[PFUbiquityFilePresenter processPendingURLs]_block_invoke(439): CoreData: Ubiquity: Librarian returned a serious error for starting downloads Error Domain=BRCloudDocsErrorDomain Code=5 "The operation couldn’t be completed. (BRCloudDocsErrorDomain error 5 - No document at URL)" UserInfo=0x16da99f0 {NSDescription=No document at URL, NSUnderlyingError=0x16dfa4e0 "The operation couldn’t be completed. No such file or directory", NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~jonathan~fmaplayer/CoreData/FMAPlayerCloudStore/mobile~A3C4D7E9-8BFC-4CC9-88EA-279287D2D39F/FMAPlayerCloudStore/WOsZJzEaT0fX6gaqeiNVafeiaCppsa1t0ZRdRGf0Tk8=/43B9F683-62D6-47FF-AEB5-9A4A701F87C5.1.cdt} with userInfo {

NSDescription = "No document at URL";

NSFilePath = "/var/mobile/Library/Mobile Documents/iCloud~com~jonathan~fmaplayer/CoreData/FMAPlayerCloudStore/mobile~A3C4D7E9-8BFC-4CC9-88EA-279287D2D39F/FMAPlayerCloudStore/WOsZJzEaT0fX6gaqeiNVafeiaCppsa1t0ZRdRGf0Tk8=/43B9F683-62D6-47FF-AEB5-9A4A701F87C5.1.cdt";

NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\" UserInfo=0x18489ea0 {NSDescription=No such file or directory}";

} for these urls: (

"file:/

)

2015-06-19 18:48:13.730 FMA Player[355:16074] __45-[PFUbiquityFilePresenter processPendingURLs]_block_invoke(439): CoreData: Ubiquity: Librarian returned a serious error for starting downloads Error Domain=BRCloudDocsErrorDomain Code=5 "The operation couldn’t be completed. (BRCloudDocsErrorDomain error 5 - No document at URL)" UserInfo=0x186252e0 {NSDescription=No document at URL, NSUnderlyingError=0x192eaae0 "The operation couldn’t be completed. No such file or directory", NSFilePath=/var/mobile/Library/Mobile Documents/iCloud~com~jonathan~fmaplayer/CoreData/FMAPlayerCloudStore/mobile~A3C4D7E9-8BFC-4CC9-88EA-279287D2D39F/FMAPlayerCloudStore/WOsZJzEaT0fX6gaqeiNVafeiaCppsa1t0ZRdRGf0Tk8=/43B9F683-62D6-47FF-AEB5-9A4A701F87C5.1.cdt} with userInfo {

NSDescription = "No document at URL";

NSFilePath = "/var/mobile/Library/Mobile Documents/iCloud~com~jonathan~fmaplayer/CoreData/FMAPlayerCloudStore/mobile~A3C4D7E9-8BFC-4CC9-88EA-279287D2D39F/FMAPlayerCloudStore/WOsZJzEaT0fX6gaqeiNVafeiaCppsa1t0ZRdRGf0Tk8=/43B9F683-62D6-47FF-AEB5-9A4A701F87C5.1.cdt";

NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\" UserInfo=0x19008080 {NSDescription=No such file or directory}";

} for these urls: (

"file:/

)

Same issue here. However my App does not crash, but sometimes this error occures, and sometimes it doesn't.

So not all items are synced to iCloud. Is this a current problem with Apple or with my App?

An Apple Senior Advisor has specified a number of issues in my iCloud account. It's likely these underly the issue.

I've been advised to go through the bug reporting process.

I am seeing the same symptoms, it seems to be affecting only one of my 3 test device (iPad mini running iOS8.1 - the other 2 devices are both iPhones running respectively iOS8.1 and iOS8.3). The symtoms are not consistent: sometimes it works ok, sometimes it doesn't so I am not 100% sure that the 2 iPhones are ok.


Seems to be a fluke, though a persistent one. Have you made any progress? Please share if you have ... this bug is making me a little nervous!

Same problem here,

i sent a TSI to apple and they replied with this:


...
Thank you for contacting Apple Developer Technical Support (DTS). Our engineers have reviewed your request and have determined that this would be best handled as a bug report.

Please submit a complete bug report regarding this issue using the Bug Reporting tool athttps://developer.apple.com/bug-reporting/.

...


Wath should we do? My app is about to be delivered!


- Matteo

I have the same problem and I filed a ticket: rdar://22390535 (http://openradar.appspot.com/radar?id=6071363555033088). Feel free to duplicate it. For me it never works. I even deleted all local files on OS X inside the corresponding ~/Library/Containers/ folder, completely removed all apps from iOS devices & simulator, and wiped clean the affected ~/Library/Mobile Documents/ subfolders. I even waited overnight for magical iCloud Core Data blackbox changes to get applied – nothing works in the end. There is a related thread at https://forums.developer.apple.com/message/35551.


Did you get a response or find a working solution / workaround in the meantime?

I have the same issue with my app using iCloud / CoreData. Has anyone heard anything from apple about fixing this? It is causing data loss and instability that is crippling my app...

I am also getting this problem. It seems to work for awhile, then comes and goes. But when it appears it ends up being in this state for quite some time. Various deletes of apps and re-installs sometimes resolve the problem. From trial and error, I think the repeated testing/uninstall makes it worse.


The only solution I've found is to delete all instances of the app, and remove iCloud data for the app from manage icloud storage. I lived with this for testing. However, this is no longer an option as I want to keep the iCloud data, and I don't think end users will enjoy this solution.

Has anyone had any further progress on the issue?

I am having the same issue after performing a Core Data Light lightweight migration.

"CoreData: Ubiquity: Librarian returned a serious error for starting downloads Error Domain=BRCloudDocsErrorDomain Code=5" error
 
 
Q