Fix sub-spec dependency

This commit is contained in:
Syo Ikeda 2013-08-14 16:57:20 +09:00
parent bbf0b5c0e6
commit 6f3debd7a2
1 changed files with 2 additions and 0 deletions

View File

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