Updated the podspec so the GIF+FLAnimatedImage is a separate subspec

This commit is contained in:
Bogdan Poplauschi 2016-06-01 10:10:46 +03:00
parent 8a488d377b
commit d75bc2765d
1 changed files with 10 additions and 0 deletions

View File

@ -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 = {