I am tracking an issue (r. 32534132) where, under very hard to reproduce circumstances, NSURLSession will call your
URLSession:downloadTask:didFinishDownloadingToURL:
delegate method with a file URL that’s completely bogus, and this will result in an error like the one you’re seeing here. In that case, however, the actual URL is very different from the one you posted. Instead of being inside your app’s container:
/var/mobile/
Containers/Data/Application/
ContainerUUID/
Library/Caches/com.apple.nsurlsessiond/Downloads/
YourBundleID/
CFNetworkDownload_Random.tmp
it’s relative to the root of the file system.
/var/mobile/
Library/Caches/com.apple.nsurlsessiond/Downloads/
YourBundleID/
CFNetworkDownload_Random.tmp
I am encountering this problem? Any updates?
Topic:
App & System Services
SubTopic:
Networking
Tags: