SDWebImage / SDWebImageSVGCoder

A SVG coder plugin for SDWebImage, using Apple's built-in framework
MIT License
103 stars 34 forks source link

critical error #3

Closed piroznoe closed 5 years ago

piroznoe commented 5 years ago

in line:

for( NSString* parserNamespace in extension.supportedNamespaces )

Thread 12: EXC_BAD_ACCESS (code=1, address=0x7b56d99f0)

dreampiggy commented 5 years ago

Seems a bug of SVGKit itself. Is this issue related ?

https://github.com/SVGKit/SVGKit/pull/605

Actually, for your App target, you'd better using the git source dependency for SVGKit. Because that project seems not obey the Git Flow pipeline and semversion. So do the following:

pod 'SVGKit', :git => 'https://github.com/SVGKit/SVGKit.git', :branch => '3.x'

Maybe I can update the Readme about this.

dreampiggy commented 5 years ago

This issue no longer appeared on the latest 3.x branch of SVGKit.