Skip to content

Commit

Permalink
Fix the podspec issue for compatible header search path
Browse files Browse the repository at this point in the history
The old libwebp CocoaPods (maybe 1.0) contains issues for public headers
  • Loading branch information
dreampiggy committed Mar 25, 2024
1 parent 11e7ea4 commit b23ac6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SDWebImageWebPCoder.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ This is a SDWebImage coder plugin to support WebP image.
s.private_header_files = 'SDWebImageWebPCoder/Private/*.h'
s.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/libwebp/src'
}
s.watchos.xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1',
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src'
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/libwebp/src'
}
s.framework = 'CoreGraphics'
s.dependency 'SDWebImage/Core', '~> 5.17'
Expand Down

0 comments on commit b23ac6b

Please sign in to comment.