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|
|
s.subspec 'MapKit' do |mk|
|
||||||
mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'
|
mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'
|
||||||
mk.framework = 'MapKit'
|
mk.framework = 'MapKit'
|
||||||
|
mk.dependency 'SDWebImage/Core'
|
||||||
end
|
end
|
||||||
|
|
||||||
s.subspec 'WebP' do |webp|
|
s.subspec 'WebP' do |webp|
|
||||||
webp.source_files = 'SDWebImage/UIImage+WebP.{h,m}'
|
webp.source_files = 'SDWebImage/UIImage+WebP.{h,m}'
|
||||||
webp.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1' }
|
webp.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SD_WEBP=1' }
|
||||||
|
webp.dependency 'SDWebImage/Core'
|
||||||
webp.dependency 'libwebp'
|
webp.dependency 'libwebp'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue