SDWebImage.podspec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Pod::Spec.new do |s|
  2. s.name = 'SDWebImage'
  3. s.version = '5.7.2'
  4. s.osx.deployment_target = '10.10'
  5. s.ios.deployment_target = '8.0'
  6. s.tvos.deployment_target = '9.0'
  7. s.watchos.deployment_target = '2.0'
  8. s.license = 'MIT'
  9. s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.'
  10. s.homepage = 'https://github.com/SDWebImage/SDWebImage'
  11. s.author = { 'Olivier Poitrey' => 'rs@dailymotion.com' }
  12. s.source = { :git => 'https://github.com/SDWebImage/SDWebImage.git', :tag => s.version.to_s }
  13. s.description = 'This library provides a category for UIImageView with support for remote ' \
  14. 'images coming from the web. It provides an UIImageView category adding web ' \
  15. 'image and cache management to the Cocoa Touch framework, an asynchronous ' \
  16. 'image downloader, an asynchronous memory + disk image caching with automatic ' \
  17. 'cache expiration handling, a guarantee that the same URL won\'t be downloaded ' \
  18. 'several times, a guarantee that bogus URLs won\'t be retried again and again, ' \
  19. 'and performances!'
  20. s.requires_arc = true
  21. s.framework = 'ImageIO'
  22. s.default_subspec = 'Core'
  23. s.pod_target_xcconfig = {
  24. 'SUPPORTS_MACCATALYST' => 'YES',
  25. 'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
  26. }
  27. s.subspec 'Core' do |core|
  28. core.source_files = 'SDWebImage/Core/*.{h,m}', 'WebImage/SDWebImage.h', 'SDWebImage/Private/*.{h,m}'
  29. core.private_header_files = 'SDWebImage/Private/*.h'
  30. end
  31. s.subspec 'MapKit' do |mk|
  32. mk.osx.deployment_target = '10.10'
  33. mk.ios.deployment_target = '8.0'
  34. mk.tvos.deployment_target = '9.2'
  35. mk.source_files = 'SDWebImageMapKit/MapKit/*.{h,m}'
  36. mk.framework = 'MapKit'
  37. mk.dependency 'SDWebImage/Core'
  38. end
  39. end