Pod::Spec.new do |s| s.name = 'SDWebImage' s.version = '2.7' s.platform = :ios s.license = 'MIT' s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.' s.homepage = 'https://github.com/rs/SDWebImage' s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' } s.source = { :git => 'https://github.com/rs/SDWebImage.git', :tag => '2.7' } s.description = 'This library provides a category for UIImageVIew with support for remote ' \ 'images coming from the web. It provides an UIImageView category adding web ' \ 'image and cache management to the Cocoa Touch framework, an asynchronous ' \ 'image downloader, an asynchronous memory + disk image caching with automatic ' \ 'cache expiration handling, a guarantee that the same URL won\'t be downloaded ' \ 'several times, a guarantee that bogus URLs won\'t be retried again and again, ' \ 'and performances!' s.preferred_dependency = 'Main' s.subspec 'Main' do |sp| sp.source_files = 'SDWebImage/{SD,UI}*.{h,m}' sp.framework = 'ImageIO' end s.subspec 'MapKit' do |sp| sp.dependency 'SDWebImage/Main' sp.source_files = 'MKAnnotationView+WebCache.*' sp.framework = 'MapKit' end end