pinterest / PINRemoteImage

A thread safe, performant, feature rich image fetcher
Apache License 2.0
4.01k stars 511 forks source link

[NSHTTPURLResponse findMaxAge]: unrecognized selector sent to instance #502

Closed mc7h closed 5 years ago

mc7h commented 5 years ago

When using a properly configured ttlCache my app crashes with [NSHTTPURLResponse findMaxAge]:

I believe this is because NSHTTPURLResponse+MaxAge.m isn't included in the PINRemoteImage target.

mc7h commented 5 years ago

I confirmed this by making the changes in my local Checkout and rebuilding via carthage.