Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build eror on Xcode 12 #7

Closed
voshk opened this issue Sep 18, 2020 · 4 comments · Fixed by #8
Closed

build eror on Xcode 12 #7

voshk opened this issue Sep 18, 2020 · 4 comments · Fixed by #8

Comments

@voshk
Copy link

voshk commented Sep 18, 2020

build error on Xcode 12.

YYCache+SDAdditions.m

[self.diskCache objectForKey:key withBlock:^(NSString * _Nonnull key, id<NSObject, NSCoding> _Nullable object) {

: Incompatible block pointer types sending 'void (^)(NSString * _Nonnull __strong, id<NSObject,NSCoding> _Nullable __strong)' to parameter of type 'void (^ _Nonnull)(NSString * _Nonnull __strong, id _Nullable __strong)'

@dreampiggy
Copy link
Collaborator

Effected by Xcode 12's clang update:

image

Fix avaialble later.

@voshk
Copy link
Author

voshk commented Sep 18, 2020

Effected by Xcode 12's clang update:

image

Fix avaialble later.

ok.thanks

@dreampiggy
Copy link
Collaborator

@voshk Please upgrade to use SDWebImageYYPlugin v0.6.0 version...

@voshk
Copy link
Author

voshk commented Sep 18, 2020

@voshk Please upgrade to use SDWebImageYYPlugin v0.6.0 version...

Got it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants