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

Xcode 12 beta 4 can't compile you #559

Closed
mr-fixit opened this issue Aug 6, 2020 · 4 comments · Fixed by #562
Closed

Xcode 12 beta 4 can't compile you #559

mr-fixit opened this issue Aug 6, 2020 · 4 comments · Fixed by #562

Comments

@mr-fixit
Copy link

mr-fixit commented Aug 6, 2020

FYI,

Xcode seems to have trouble figuring out that various classes that support the PINCaching protocol should be allowed as parameters of type id<PINCaching>.

@mycroftcanner
Copy link

mycroftcanner commented Aug 7, 2020

Can't compile either...

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)')

@mycroftcanner
Copy link

@zacwest @garrettmoon @mRs- @Adlai-Holler Any chance you could commit a fix for PINRemoteImage please?

pinterest/PINCache#273

@zboralski
Copy link

Temporary Workaround

ENV['COCOAPODS_DISABLE_STATS'] = "true"
use_frameworks!

target 'XX' do
    platform :ios, '13.6'
    pod 'Texture', :git => 'https://github.com/TextureGroup/Texture', :branch => 'master'
    pod 'PINRemoteImage', :git => 'https://github.com/zacwest/PINRemoteImage', :branch => 'fix-xcode-12.0b4'
    pod 'PINCache', :git => 'https://github.com/pinterest/PINCache', :branch => 'master'
end

@Destriarch
Copy link

Still getting this issue in PINRemoteImage 3.0.3

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.

4 participants