Incompatible block pointer types sending 'void (^)(PINMemoryCache *__strong, NSString *__strong, __strong id)' to parameter of type 'PINCacheObjectBlock _Nonnull' (aka 'void (^)(id<PINCaching> _Nonnull __strong, NSString * _Nonnull __strong, id _Nullable __strong)')
解決方案:
在 pod 中的第三方庫中家上:
-Xclang -fcompatibility-qualified-id-block-type-checking
實例:
20201112111131488.png