CloudKit CKAsset returns non-exiting FileURL's

Originator:ward
Number:rdar://17480197 Date Originated:27-jun-2014
Status:Open Resolved:
Product:iOS SDK Product Version:8.0 (12A4297e)
Classification:Serious Bug Reproducible:
 
Summary:
Since today, my CKAssets all return non-exiting FileURL's. The CKAssets show up correctly in CloudKit dashboard, but can't get the file in my app. Code worked fine for a few days and so far as I can see didn't change.

Steps to Reproduce:
1. Save a record with a CKAsset
2. Fetch the record
3. Check if the fileURL.path exists with NSFileManager().fileExistsAtPath


Expected Results:
File should exist

Actual Results:
NSFileManager().fileExistsAtPath(asset.fileURL.path) returns false.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!