pinterest / PINCache

Fast, non-deadlocking parallel object cache for iOS, tvOS and OS X
Apache License 2.0
2.66k stars 361 forks source link

pincache framework problem with Xcode12.3 version #304

Closed DhagatKinjal closed 3 years ago

DhagatKinjal commented 3 years ago

Incompatible block pointer types sending 'void (^)(PINCache _Nonnull __strong, NSString _Nonnull strong, id _Nullable strong)' to parameter of type 'PINCacheObjectBlock _Nullable' (aka 'void (^)(id _Nonnull strong, NSString * _Nonnull strong, id _Nullable __strong)')

garrettmoon commented 3 years ago

@DhagatKinjal are you on the latest version? Can you please upload a sample project?

dgcoffman commented 3 years ago

@garrettmoon https://github.com/pinterest/PodToBUILD make build-test repros.

garrettmoon commented 3 years ago

@dgcoffman that doesn't look to be using the latest version of PINCache.

dgcoffman commented 3 years ago

That's correct. I was getting this error in PodToBUILD and resolved by upgrading to PINCache 3.0.3.

DhagatKinjal commented 3 years ago

Thank you for your timely response. I will check it out.

On Wed, 24 Feb, 2021, 4:42 am Daniel Coffman, notifications@github.com wrote:

That's correct. I was getting this error in PodToBUILD and resolved by upgrading to PINCache 3.0.3.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pinterest/PINCache/issues/304#issuecomment-784579764, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHW4OGHA76KXD4LYW2RIQFLTAQY43ANCNFSM4XQLMCIA .

garrettmoon commented 3 years ago

Glad upgrading fixed it!

kinjal-concetto commented 3 years ago

That's correct. I was getting this error in PodToBUILD and resolved by upgrading to PINCache 3.0.3.

Thanks 👍