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

Error in xcode12 compilation #284

Closed
zhouxubin opened this issue Sep 21, 2020 · 9 comments
Closed

Error in xcode12 compilation #284

zhouxubin opened this issue Sep 21, 2020 · 9 comments

Comments

@zhouxubin
Copy link

When I upgraded to xcode12, the compiler reported 23 errors in the morning

Incompatible block pointer types initializing '__strong PINCacheObjectBlock' (aka 'void (^__strong)(id<PINCaching> _Nonnull __strong, NSString * _Nonnull __strong, id _Nullable __strong)') with an expression of type 'PINDiskCacheObjectBlock _Nullable __strong' (aka 'void (^__strong)(PINDiskCache * _Nonnull __strong, NSString * _Nonnull __strong, id<NSCoding> _Nullable __strong)')

@Mammadbayli
Copy link

I also have the same problem, downgraded to 11.7 for now.

@abuzzworld
Copy link

emmmmm

@Plnda
Copy link

Plnda commented Sep 23, 2020

#281 this PR will fix it

@garrettmoon
Copy link
Collaborator

@zhouxubin can you confirm you are using 3.0.1?

@unamed000
Copy link

I'm having the exact problem

@garrettmoon
Copy link
Collaborator

@unamed000 what version of PINCache are you using?

@unamed000
Copy link

unamed000 commented Oct 1, 2020

@garrettmoon
I'm using version 3.0.1-beta.6

EDIT:
This PR fixed my issue: 5f58a39

Could you please make a beta version for this? :)

@theoneit
Copy link

theoneit commented Oct 5, 2020

was it fixed? any update?

@garrettmoon
Copy link
Collaborator

@unamed000 3.0.1 was released, please update!

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

No branches or pull requests

7 participants