Skip to content

Errors with SDWebImage 5.0.x #76

@TomMajor

Description

@TomMajor

Using MediaBrowser in a recent project lead to 2 errors in the MediaBrowser Pod which makes further compile in the project impossible.
The 2 errors are at:

Media.swift #194
operation = SDWebImageManager.shared().loadImage(...
Cannot call value of non-function type 'SDWebImageManager'

MediaBrowser.swift #307
SDImageCache.shared().clearMemory()
Cannot call value of non-function type 'SDImageCache'

Because latest MediaBrowser release was on March 31 and SDWebImage made a major release 5.0 on April 2, I thought to give it a try with the SDWebImage version which was current when MediaBrowser 2.3.0 was reelased.
So I fixed this error with explicitly stating in the podfile to use version 4.4.6 of SDWebImage.

Would be great if this could be fixed for next release of MediaBrowser so that current SDWebImage can be used.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions