SDWebImage.podspec 2.0 KB

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