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

_OBJC_CLASS_$_PINWebPAnimatedImage solution #595

Open
BannaGo opened this issue Apr 13, 2021 · 0 comments
Open

_OBJC_CLASS_$_PINWebPAnimatedImage solution #595

BannaGo opened this issue Apr 13, 2021 · 0 comments

Comments

@BannaGo
Copy link

BannaGo commented Apr 13, 2021

#define PIN_WEBP 1
but occur this error:
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_PINWebPAnimatedImage", referenced from:
objc-class-ref in libXXX.a(PINCachedAnimatedImage.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I checked this file PINWebPAnimatedImage.m, the reason is “#import "PINWebPAnimatedImage.h" should not be in #if PIN_WEBP #endif.

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

1 participant