Skip to content

Commit d75bc27

Browse files
committed
Updated the podspec so the GIF+FLAnimatedImage is a separate subspec
1 parent 8a488d3 commit d75bc27

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

SDWebImage.podspec

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ Pod::Spec.new do |s|
3535
mk.dependency 'SDWebImage/Core'
3636
end
3737

38+
s.subspec 'GIF' do |gif|
39+
gif.ios.deployment_target = '6.0'
40+
gif.source_files = 'SDWebImage/FLAnimatedImage/*.{h,m}'
41+
gif.dependency 'SDWebImage/Core'
42+
gif.dependency 'FLAnimatedImage', '~> 1.0'
43+
gif.xcconfig = {
44+
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/FLAnimatedImage/FLAnimatedImage'
45+
}
46+
end
47+
3848
s.subspec 'WebP' do |webp|
3949
webp.source_files = 'SDWebImage/UIImage+WebP.{h,m}'
4050
webp.xcconfig = {

0 commit comments

Comments
 (0)