but occur this error:
Undefined symbols for architecture x86_64:
"_OBJCCLASS$_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.
define PIN_WEBP 1
but occur this error: Undefined symbols for architecture x86_64: "_OBJCCLASS$_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.