Closed Jack-Rain closed 3 months ago
Upgrade to the latest version, I think this already been fixed. This macro exists in SDInternalMacros.h
, which the private search path pointed to
Upgrade to the latest version, I think this already been fixed. This macro exists in
SDInternalMacros.h
, which the private search path pointed to
it is already the latest version
You can check your environment, open in Xcode project and jump into SDImageWebPCoder.m
, go to
#import "SDInteralMacros.h"
Command + Click this line, where that SDInternalMacros.h
pointed to ? Is that a broken file or something inside SDWebImage
(not SDWebImageWebPCoder
?)
You can check your environment, open in Xcode project and jump into
SDImageWebPCoder.m
, go to#import "SDInteralMacros.h"
Command + Click this line, where that
SDInternalMacros.h
pointed to ? Is that a broken file or something insideSDWebImage
(notSDWebImageWebPCoder
?)
It points to SDWebImageWebPCoder where the definition of SD_LOG is not included.
SDTest.zip This demo can reproduce the issue
Is this because the SDInternalMacros.h
copied from SDWebImage Core is not updated ?
I mean, where this SD_LOG
is used ? SDWebImageWebPCoder itself seems does not have any call to this SD_LOG
macro
I guess it's bug or issue on CocoaPods.
These 2 repo contains different path for the same file name SDInternalMacros.h
, but it should not cause issue, if exists, it's Package Manager's bug (CocoaPods)
I mean, where this
SD_LOG
is used ? SDWebImageWebPCoder itself seems does not have any call to thisSD_LOG
macro
I guess it's bug or issue on CocoaPods.
These 2 repo contains different path for the same file name
SDInternalMacros.h
, but it should not cause issue, if exists, it's Package Manager's bug (CocoaPods)
maybe
For local development, avoid the default configuration and always use
install! 'cocoapods', :generate_multiple_pod_projects => true
When I use "pod 'SDWebImageWebPCoder', :path=> '/Users/xxx/SDWebImageWebPCoder-master'" to point SDWebImageWebPCoder to a local file, I get the error "Call to undeclared function 'SD_LOG'; ISO C99 and later do not support implicit function declarations" during compilation.