TCBlobDownload icon indicating copy to clipboard operation
TCBlobDownload copied to clipboard

Does not work with iOS 11.3

Open strawherotk opened this issue 6 years ago • 2 comments

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.

strawherotk avatar Apr 03 '18 02:04 strawherotk

I think this framework need upgrade, use NSURLSession instead.

crespoxiao avatar Apr 13 '18 02:04 crespoxiao

class TCBlobDownloader.m

self.receivedDataBuffer = [[NSMutableData alloc] init]; replace [self.receivedDataBuffer setData:nil];

huangc83 avatar Nov 21 '19 03:11 huangc83