TCBlobDownload
TCBlobDownload copied to clipboard
Does not work with iOS 11.3
Hi,
I've just updated Xcode to 9.3 & run my app again with iOS 11.3. This framework does not work anymore. The framework triggers the interface 'didFinishWithSuccess', the flag 'downloadFinished' is also true, the file is created but it's empty there. Nothing is downloaded. Console log: After I start the download using function startDownload(), got this strange log:
WebVidDownloader[3177:205241] [Symptoms] {
"transportType" : "HTTP Progressive Download",
"mediaType" : "HTTP Progressive Download",
"BundleID" : "WebVidDownloader",
"name" : "MEDIA_PLAYBACK_STALL",
"interfaceType" : "Other"
}
Then the download seem to fail with below log, but it does not trigger the didStopWithError function in the delegate method.
Task <582147FA-9C74-49CD-8586-55E28A31DD67>.<2> finished with error - code: -999
Does anyone have the same issue? Have you figured somehow to fix it? Looking for your news.
Thanks.
I think this framework need upgrade, use NSURLSession instead.
class TCBlobDownloader.m
self.receivedDataBuffer = [[NSMutableData alloc] init]; replace [self.receivedDataBuffer setData:nil];