Fix sub-spec dependency
This commit is contained in:
parent
bbf0b5c0e6
commit
6f3debd7a2
|
@ -29,11 +29,13 @@ Pod::Spec.new do |s|
|
|||
s.subspec 'MapKit' do |mk|
|
||||
mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'
|
||||
mk.framework = 'MapKit'
|
||||
mk.dependency 'SDWebImage/Core'
|
||||
end
|
||||
|
||||
s.subspec 'WebP' do |webp|
|
||||
webp.source_files = 'SDWebImage/UIImage+WebP.{h,m}'
|
||||
webp.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1' }
|
||||
webp.dependency 'SDWebImage/Core'
|
||||
webp.dependency 'libwebp'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue