Skip to content

Commit 84ae10f

Browse files
committed
Fix the podspec issue for compatible header search path
The old libwebp CocoaPods (maybe 1.0) contains issues for public headers
1 parent 11e7ea4 commit 84ae10f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: SDWebImageWebPCoder.podspec

+2-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ This is a SDWebImage coder plugin to support WebP image.
2121
s.source_files = 'SDWebImageWebPCoder/Classes/**/*', 'SDWebImageWebPCoder/Private/*.h', 'SDWebImageWebPCoder/Module/SDWebImageWebPCoder.h'
2222
s.private_header_files = 'SDWebImageWebPCoder/Private/*.h'
2323
s.xcconfig = {
24-
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1',
25-
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
24+
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1'
2625
}
2726
s.watchos.xcconfig = {
28-
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1',
29-
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
27+
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1'
3028
}
3129
s.framework = 'CoreGraphics'
3230
s.dependency 'SDWebImage/Core', '~> 5.17'

0 commit comments

Comments
 (0)