美文网首页
xcode 第三方库 Incompatible block po

xcode 第三方库 Incompatible block po

作者: Steven054 | 来源:发表于2021-04-29 11:08 被阅读0次

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

相关文章

网友评论

      本文标题:xcode 第三方库 Incompatible block po

      本文链接:https://www.haomeiwen.com/subject/cinirltx.html