-
Notifications
You must be signed in to change notification settings - Fork 119
Errors with SDWebImage 5.0.x #76
Description
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,