diff --git a/SDWebImage.podspec b/SDWebImage.podspec index 646126f6..0aab1a63 100644 --- a/SDWebImage.podspec +++ b/SDWebImage.podspec @@ -35,6 +35,16 @@ Pod::Spec.new do |s| mk.dependency 'SDWebImage/Core' end + s.subspec 'GIF' do |gif| + gif.ios.deployment_target = '6.0' + gif.source_files = 'SDWebImage/FLAnimatedImage/*.{h,m}' + gif.dependency 'SDWebImage/Core' + gif.dependency 'FLAnimatedImage', '~> 1.0' + gif.xcconfig = { + 'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/FLAnimatedImage/FLAnimatedImage' + } + end + s.subspec 'WebP' do |webp| webp.source_files = 'SDWebImage/UIImage+WebP.{h,m}' webp.xcconfig = {