onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.
MIT License
23.41k stars 2.66k forks source link

Crash on mutableData.append(data) #1811

Open kevalhshah opened 3 years ago

kevalhshah commented 3 years ago

What

App Crashed on SessionDataTask.SWift func didReceiveData(_ data: Data) { mutableData.append(data) }

Reproduce

Used Kingfisher as brow in cellForRow

cell.imageView.kf.setImage(with: imageURL, placeholder: UIImage(named: "img_placeholder"), options: [.cacheOriginalImage, .progressiveJPEG(.default), .transition(.fade(0.2))])

Other Comment

using pod 'Kingfisher', '~> 6.0' to Resolve it I have removed .progressiveJPEG(.default)

JacksonJang commented 2 years ago

I think you should update version from 6.0 to 7.1.2

If an error occurs when using it after the update, please write again.

Cuizhangqiang commented 4 months ago

Is this problem solved? Is there any solution? I have the same problem